Also having issues upgrading to .24 on newest openplotter image. Followed steps for the web fix and everything was working on .16 prior to upgrading with git.
pypilot_web has no errors on command line but shows no connection on webpage and get 'javascript:void(0)' when hovering over buttons.
pypilot_hat runs the lcd but don't get webpage, pressing gpio buttons exits:
pi@openplotter:~ $ pypilot_hat
have gpio for raspberry pi
loading config file: /home/pi/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
arduino process on 4698
renice: failed to set priority for 4698 (process ID): Permission denied
warning, failed to renice hat arduino process
No hat config, arduino not found
4700 (process ID) old priority 0, new priority 19
web failed to run process: module 'web' has no attribute 'web_process'
After button press:
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 448, in main
hat.poll()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 394, in poll
i.poll()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/lcd.py", line 327, in poll
next_page = self.page.process()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/page.py", line 732, in process
speed = keys[key][0]
KeyError: 0
got signal atexit cleaning up 4613
got signal 17 cleaning up 4613
subprocess returned (0, 0) []
got signal 17 cleaning up 4613
pi@openplotter:~ $ pip3 freeze | grep -iE "engine|socket"
Flask-SocketIO==2.9.0
gevent-websocket==0.10.1
python-engineio==3.14.2
python-socketio==4.6.1
websocket-client==0.58.0
Any help greatly appreciated!
Edit: pypilot_web does actually show "unsupported version of the Socket.IO or Engine.IO protocols" after opening web page.
pypilot_web has no errors on command line but shows no connection on webpage and get 'javascript:void(0)' when hovering over buttons.
pypilot_hat runs the lcd but don't get webpage, pressing gpio buttons exits:
pi@openplotter:~ $ pypilot_hat
have gpio for raspberry pi
loading config file: /home/pi/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
arduino process on 4698
renice: failed to set priority for 4698 (process ID): Permission denied
warning, failed to renice hat arduino process
No hat config, arduino not found
4700 (process ID) old priority 0, new priority 19
web failed to run process: module 'web' has no attribute 'web_process'
After button press:
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 448, in main
hat.poll()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 394, in poll
i.poll()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/lcd.py", line 327, in poll
next_page = self.page.process()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/page.py", line 732, in process
speed = keys[key][0]
KeyError: 0
got signal atexit cleaning up 4613
got signal 17 cleaning up 4613
subprocess returned (0, 0) []
got signal 17 cleaning up 4613
pi@openplotter:~ $ pip3 freeze | grep -iE "engine|socket"
Flask-SocketIO==2.9.0
gevent-websocket==0.10.1
python-engineio==3.14.2
python-socketio==4.6.1
websocket-client==0.58.0
Any help greatly appreciated!
Edit: pypilot_web does actually show "unsupported version of the Socket.IO or Engine.IO protocols" after opening web page.