etsach / espmilighthub-domoticz

Domoticz Plugin for controlling the ESP Milight Hib
MIT License
9 stars 4 forks source link

Error load plugin with Python 3.8.0a4 #6

Closed poudenes closed 5 years ago

poudenes commented 5 years ago

Hi,

Installed latest Python and now I get this error. Will revert back to older one.

2019-05-28 17:24:17.997  Error: (MilightESP8266) failed to load 'plugin.py', Python Path used was ':/usr/local/lib/python38.zip//usr/local/lib/python3.8//usr/local/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/site-packages'.
2019-05-28 17:24:17.998  Error: (Milight Hub) Module Import failed, exception: 'ModuleNotFoundError'
2019-05-28 17:24:17.998  Error: (Milight Hub) Module Import failed: ' Name: plugin'
2019-05-28 17:24:17.999  Error: (Milight Hub) Error Line details not available.
etsach commented 5 years ago

This looks like a more general issue of Domoticz with Python. The best would be to ask them on the Domoticz forum

Le mar. 28 mai 2019 à 18:25, poudenes notifications@github.com a écrit :

Hi,

Installed latest Python and now I get this error. Will revert back to older one.

2019-05-28 17:24:17.997 Error: (MilightESP8266) failed to load 'plugin.py', Python Path used was ':/usr/local/lib/python38.zip//usr/local/lib/python3.8//usr/local/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/site-packages'. 2019-05-28 17:24:17.998 Error: (Milight Hub) Module Import failed, exception: 'ModuleNotFoundError' 2019-05-28 17:24:17.998 Error: (Milight Hub) Module Import failed: ' Name: plugin' 2019-05-28 17:24:17.999 Error: (Milight Hub) Error Line details not available.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/galinette2000/espmilighthub-domoticz/issues/6?email_source=notifications&email_token=ACXIPYOWD2QMHBFM5JW5PWTPXVMIRA5CNFSM4HQFCP5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWIYLZQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXIPYLGEKVEDM3PISOLEULPXVMIRANCNFSM4HQFCP5A .

etsach commented 5 years ago

Hmmm, there may be a problem in the plugin, but the error message is totally cryptic, there is not even a line number

poudenes commented 5 years ago

Im now change from current code to your Plugin on my running setup. Have to change lot of scripts to make it better as well. When done I will setup a second RPi and install this latest Python again. Then turn on debug mode, maybe that will help you?