Closed santricity closed 4 years ago
Sorry, this should go to Fritz!Presence, not domoticz-Fritzbox plugin. But I'm getting exactly the same issue with domoticz-Fritzbox plugin:
2020-04-06 10:36:57.614 Error: (FritzBox) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-FritzBox/:/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-04-06 10:36:57.614 Error: (Fritz!Box Plugin) Module Import failed, exception: 'ModuleNotFoundError' 2020-04-06 10:36:57.614 Error: (Fritz!Box Plugin) Module Import failed: ' Name: fritzconnection' 2020-04-06 10:36:57.615 Error: (Fritz!Box Plugin) Error Line details not available.
Hi. As the issue was solved in Fritz!Presence a few days ago, I expect FB is running now as well?
Hi, I'm running the latest stable Domoticz 2020.1 on Raspbian Buster (up to date) and latest Fritz!Presence plugin. But I can't make the plugin running:
2020-04-06 10:25:22.788 Error: (FritzPresence) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-FritzPresence/:/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-04-06 10:25:22.789 Error: (Fritz!Presence) Module Import failed, exception: 'NameError' 2020-04-06 10:25:22.789 Error: (Fritz!Presence) Error Line details not available.
and from time to time: 2020-04-06 10:29:39.524 Error: Fritz!Presence hardware (7) thread seems to have ended unexpectedly
My sys.path.append in plugin.py: sys.path sys.path.append('/usr/lib/python3/dist-packages')
sys.path.append('/usr/lib/python3/dist-packages')
sys.path.append('/volume1/@appstore/python3/lib/python3.5/site-packages')
sys.path.append('/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages')
sys.path.append('C:\Program Files (x86)\Python37-32\Lib\site-packages')
I copied all modules downloaded using pip3 install -r requirements.txt to '/usr/lib/python3/dist-packages':
$ ls -la /usr/lib/python3/dist-packages | grep fritz -rwxr-xr-x 1 root root 231 Apr 5 21:37 fritzcall -rwxr-xr-x 1 root root 237 Apr 5 21:37 fritzconnection -rwxr-xr-x 1 root root 235 Apr 5 21:37 fritzhomeauto -rwxr-xr-x 1 root root 232 Apr 5 21:37 fritzhosts -rwxr-xr-x 1 root root 236 Apr 5 21:37 fritzphonebook -rwxr-xr-x 1 root root 233 Apr 5 21:37 fritzstatus -rwxr-xr-x 1 root root 231 Apr 5 21:37 fritzwlan
My other python based plugins are working properly.
Any hint what am I doing wrong?