Failed to load the plugin:
Running Domoticz 2020.1.11804-8 on a
Synology NAS DS216j DSM 6.2.3.
Python 3.8.2
I have had the plugin working in the past but now with new installation I cant get the Shelly MQTT to load anymore.
I get this error
Code: Select all
2021-01-07 15:24:43.532 Error: Shelly MQTT hardware (3) thread seems to have ended unexpectedly
2021-01-07 15:27:44.220 Error: (ShellyMQTT) failed to load 'plugin.py', Python Path used was ':/var/packages/py3k/target/usr/local/lib/python38.zip:/var/packages/py3k/target/usr/local/lib/python3.8:/var/packages/py3k/target/usr/local/lib/python3.8/lib-dynload:/var/packages/py3k/target/usr/local/lib/python3.8/site-packages'.
2021-01-07 15:27:44.221 Error: (Shelly MQTT) Module Import failed, exception: 'ModuleNotFoundError'
2021-01-07 15:27:44.221 Error: (Shelly MQTT) Module Import failed: ' Name: plugin'
in line 2 it say "python38.zip" but there is no such file and I don't know if it should be??
The directories is there
Code: Select all
usr@MyNas:/var/packages/py3k/target/usr/local/lib$ dir
total 2548
drwxr-xr-x 3 root root 4096 Jun 29 2020 .
drwxr-xr-x 5 root root 4096 Jun 29 2020 ..
lrwxrwxrwx 1 root root 19 Jun 29 2020 libpython3.8.so -> libpython3.8.so. 1.0
-rwxr-xr-x 1 root root 2588512 Jun 29 2020 libpython3.8.so.1.0
-rwxr-xr-x 1 root root 5352 Jun 29 2020 libpython3.so
drwxr-xr-x 32 root root 4096 Jan 7 11:56 python3.8
and if I'm looking in the log of Domoticz it seems to have loaded Python correct.
Code: Select all
2021-01-07 15:27:41.421 Status: PluginSystem: Started, Python version '3.8.2'
Any suggestion on what is wrong?
EDIT
I did a symlink
ln -s /var/packages/py3k/target/usr/local/lib/python3.8/ /usr/local/lib/python3.8
and made the plugin.py executable
after this I do not get any error but still no ShellyMQTT module
I do have this in the Domoticz logg
Code: Select all
2021-01-07 17:45:43.197 Status: Python EventSystem: Initalizing event module.
But it is not a solution... anyone?