You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
julio8a
changed the title
[BUG]
TypeError: field() got an unexpected keyword argument 'kw_only'
Dec 6, 2024
julio8a
changed the title
TypeError: field() got an unexpected keyword argument 'kw_only'
[BUG] TypeError: field() got an unexpected keyword argument 'kw_only'
Dec 6, 2024
julio8a
changed the title
[BUG] TypeError: field() got an unexpected keyword argument 'kw_only'
TypeError: field() got an unexpected keyword argument 'kw_only'
Dec 6, 2024
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
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: