guillaumezin / DomoticzEbusd

ebusd plugin for Domoticz
MIT License
14 stars 5 forks source link

Python3.10 support - module 'collections' has no attribute 'MutableMapping' #10

Closed kofec closed 2 years ago

kofec commented 2 years ago

I have to back to python 3.9 but for pyrhon3.10 AttributeError: module 'collections' has no attribute 'MutableMapping'

https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping

add log:

2022-05-24 12:19:50.614 Error: VailantPiec: (ebusd) failed to load 'plugin.py', Python Path used was '/var/lib/domoticz/plugins/DomoticzEbusd/:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages'.
2022-05-24 12:19:50.720 Error: VailantPiec: Traceback (most recent call last):
2022-05-24 12:19:50.721 Error: VailantPiec: File "/var/lib/domoticz/plugins/DomoticzEbusd/plugin.py", line 50, in <module>
2022-05-24 12:19:50.723 Error: VailantPiec: class CaseInsensitiveDict(collections.MutableMapping):
2022-05-24 12:19:50.724 Error: VailantPiec: AttributeError: module 'collections' has no attribute 'MutableMapping'
guillaumezin commented 2 years ago

Hello, Could you try version 1.4.4?

kofec commented 2 years ago

I will try