rvdvoorde / domoticz-homewizard

Plugin for Domoticz
http://www.domoticz.com/
GNU General Public License v3.0
12 stars 10 forks source link

Latest update crashes domoticz #17

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

since the latest update of 10-5-2018, my domo install crashes when I use your plugin.

Installation and restart does not give issues. but when I try to add the homewizard hardware, domo crashes.
not even the 'offline' message, but a 404. After removal of plugin and service restart, domo comes back.

Can you check the script? I can test of give you log files if needed.

I reinstalled Domo yesterday on a fresh Raspbian Stretch image.

Thanks!

c4coer commented 6 years ago

on my side with this version no problem. domoticz under synology

rvdvoorde commented 6 years ago

No issues found here, also running with stretch without any problems.

Can you sent me the error logs?

ghost commented 6 years ago

Checked again. Installing plugin crashes my domo as well after a few minutes

2018-05-12 13:59:35.801 Error: (Homewizard) failed to load 'plugin.py', Python Path used was ':/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-05-12 13:59:35.801 Error: (Home Wizard) Module Import failed, exception: 'ImportError'
2018-05-12 13:59:35.801 Error: (Home Wizard) Module Import failed: ' Name: plugin'
2018-05-12 13:59:35.801 Error: (Home Wizard) Error Line details not available.

I have Python 3.5.3.

pi@Domoticz:~/domoticz/plugins $ python --version
Python 2.7.13
pi@Domoticz:~/domoticz/plugins $ python3 --version
Python 3.5.3
c4coer commented 6 years ago

sous quoi utiliser vous domoticz ? un NAS , ou autre systeme ?

brogen67 commented 6 years ago

Hello, I have the same issue as Remco.

brogen67 commented 6 years ago

@c4coer quelle version de python as-tu ?

brogen67 commented 6 years ago

@RemcoLeonard At the moment, the only solution I found is uninstall all python3 ans install only python 3.4 > that's working for me. If you need : sudo apt-get remove python3 sudo apt-get autoremove sudo apt-get install pyhton3.4 sudo service domoticz restart

rvdvoorde commented 6 years ago

With the latest domoticz beta version this issue is solved.