Ok, so I figured out that demjson was not in the correct folder. I copied demjson.py to the folder
/volume1/@appstore/py3k/usr/local/lib/python3.5/
and made it executable. This solves the first problem. But now, I'm getting an other error:
Code: Select all
2017-07-30 18:46:04.547 Error: (Woonveilig) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/domoticz-woonveilig/:/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload'.
2017-07-30 18:46:04.547 Error: (Woonveilig) Module Import failed, exception: 'SyntaxError'
2017-07-30 18:46:04.547 Error: (Woonveilig) Import detail: File: /volume1/@appstore/py3k/usr/local/lib/python3.5/demjson.py, Line: 1803059968, offset: 645
2017-07-30 18:46:04.547 Error: (Woonveilig) Error Line 'class json_int( (1L).__class__ ): # Have to specify base this way to satisfy 2to3
I know, this has nothing to do with your plugin. But for me, as a non-coder, it's kinda hard figuring out those problems every time
So now I'm stuck with a demjson problem, in the code. Don't know what to do now.