-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Type error when running python3 ankerctl.py config import
To Reproduce
On MacOS after installing all the modules, then running python3 ankerctl.py config import
Expected behavior
Successful output when importing the Config
Screenshots
/Users/jochoa/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
Traceback (most recent call last):
File "/Users/jochoa/Github/ankermake-m5-protocol/ankerctl.py", line 14, in <module>
import cli.mqtt
File "/Users/jochoa/Github/ankermake-m5-protocol/cli/mqtt.py", line 7, in <module>
from libflagship.mqttapi import AnkerMQTTBaseClient
File "/Users/jochoa/Github/ankermake-m5-protocol/libflagship/mqttapi.py", line 9, in <module>
from libflagship.mqtt import MqttMsg, MqttPktType
File "/Users/jochoa/Github/ankermake-m5-protocol/libflagship/mqtt.py", line 80, in <module>
class _MqttMsg:
File "/Users/jochoa/Github/ankermake-m5-protocol/libflagship/mqtt.py", line 81, in _MqttMsg
signature : bytes = field(repr=False, kw_only=True, default=b'MA') # Signature: 'MA'
TypeError: field() got an unexpected keyword argument 'kw_only'
Desktop (please complete the following information):
- OS: MacOS Sonoma 14.7.1
- Browser N/A
- Version N/A
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working