Hi Dan,
Mixed success. I am still working with a new install to make sure I didn't introduce other problems.
Using the git checkout Py3_WIP did get MQTT plugin to work so I started to populate other information like Configure stations. Any update to this page causes the following error
pi@sprinkler:~/SIP $ sudo python3 sip.py
ERROR: MQTT Plugin requires paho mqtt.
try: pip install paho-mqtt
MQTT publish UP
Messge from Signaling plugin!: Just an example!
plugins loaded:
mobile_app
mqtt
mqtt_zones
plugin_manager
signaling_examples
system_update
Starting timing loop
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
http://:::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)])
KeyError: 'umo'
I noticed the paho-mqtt error but checked and it is loaded.
pip3 install paho-mqtt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt in /home/pi/.local/lib/python3.7/site-packages (1.5.0)
pi@sprinkler:~/SIP $ python3 -V
Python 3.7.3
pi@sprinkler:~/SIP $ git branch
* Py3_WIP
master
I tried a few other pages eg PROGRAMS, OPTIONS, PLUGINS and they seem to be working OK.
Went back to master to see what that looks like
And back to the LOADING problem again as the mqtt plugins are loaded.
I am not sure I understood what draggaj was saying about using the future dir?
So I am a bit stuck again and what to try next?
Thanks for your help
Gary
Mixed success. I am still working with a new install to make sure I didn't introduce other problems.
Using the git checkout Py3_WIP did get MQTT plugin to work so I started to populate other information like Configure stations. Any update to this page causes the following error
pi@sprinkler:~/SIP $ sudo python3 sip.py
ERROR: MQTT Plugin requires paho mqtt.
try: pip install paho-mqtt
MQTT publish UP
Messge from Signaling plugin!: Just an example!
plugins loaded:
mobile_app
mqtt
mqtt_zones
plugin_manager
signaling_examples
system_update
Starting timing loop
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
http://:::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)])
KeyError: 'umo'
I noticed the paho-mqtt error but checked and it is loaded.
pip3 install paho-mqtt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt in /home/pi/.local/lib/python3.7/site-packages (1.5.0)
pi@sprinkler:~/SIP $ python3 -V
Python 3.7.3
pi@sprinkler:~/SIP $ git branch
* Py3_WIP
master
I tried a few other pages eg PROGRAMS, OPTIONS, PLUGINS and they seem to be working OK.
Went back to master to see what that looks like
And back to the LOADING problem again as the mqtt plugins are loaded.
I am not sure I understood what draggaj was saying about using the future dir?
So I am a bit stuck again and what to try next?
Thanks for your help
Gary