Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python version #26

Open
mattx38 opened this issue Feb 22, 2020 · 1 comment
Open

Python version #26

mattx38 opened this issue Feb 22, 2020 · 1 comment

Comments

@mattx38
Copy link

mattx38 commented Feb 22, 2020

Hello,

I just reinstalled my Domoticz on Raspbian and I got errors with Xiaomi plugins :

2020-02-23 11:48:16.318 Error: (xiaomi-mi-robot-vacuum) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/xiaomi-mirobot/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2020-02-23 11:48:16.318 Error: (Xiaomi S50) Module Import failed, exception: 'AttributeError'
2020-02-23 11:48:16.318 Error: (Xiaomi S50) Error Line details not available.
2020-02-23 11:49:27.544 Error: Xiaomi S50 hardware (6) thread seems to have ended unexpectedly

How can I make it works again ?

@codezorz
Copy link

codezorz commented Mar 3, 2020

The encoding attribute in Unpacker (msgpack) is deprecated, you have to downgrade this package to version 0.6.2 so it doesn't throw an exception, just an obsolete warning.

sudo pip3 install -U --ignore-installed msgpack=="0.6.2";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants