(2019 Nov 15, 03:55 PM)dan Wrote: @ Gary,
If you switch back to the master branch you will be using Python 2.
You will need to install paho with
pip instead of pip3
I appreciate your patience with these issues. It is a major change in the SIP code and I was hoeing to get everythin working before anyone started using the plugins. It involves testing each plugin one by one and there are still some problems.
Hi Dan,
Yes I did have paho installed with python 2 just forgot to mention it. I am back on the Py3_WIP branch for the moment as it seems to almost be working for me.
That's Ok just thought I would let you know about the STATIONS page. It loads the page OK but as soon as you try and save anything it gives that error.
FYI I also removed the plugins and I was still getting the same error with the STATIONS page so perhaps this is not related to the plugins?
Let me know if you would like me to try anything.
pi@sprinkler:~/SIP $ sudo python3 sip.py
Messge from Signaling plugin!: Just an example!
plugins loaded:
mobile_app
plugin_manager
signaling_examples
system_update
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
Starting timing loop
http://192.168.0.162:80/
Traceback (most recent call last):
File "/home/pi/SIP/web/application.py", line 289, in process
return self.handle()
File "/home/pi/SIP/web/application.py", line 280, in handle
return self._delegate(fn, self.fvars, args)
File "/home/pi/SIP/web/application.py", line 530, in _delegate
return handle_class(cls)
File "/home/pi/SIP/web/application.py", line 508, in handle_class
return tocall(*args)
File "/home/pi/SIP/webpages.py", line 373, in GET
gv.sd[u"umo"][i] = int(qdict[u"m" + str(i)])
[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]
KeyError: 'umo'
Thanks
Gary