2023 Oct 08, 04:46 AM
Hi Dan,
I think I've struck the same issue but upgrading hasn't helped. First I tried a git pull and then the update script, both of which appeared to complete successfully but I still can't get to the Web GUI.
I'm getting this for the service:
xxxx@raspberrypi:~ $ systemctl status sip
● sip.service - SIP for Python3
Loaded: loaded (/etc/systemd/system/sip.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-10-08 12:33:37 NZDT; 4h 44min ago
Process: 392 ExecStart=/usr/bin/python3 -u /home/pi/SIP/sip.py (code=exited, status=1/FAILURE)
Main PID: 392 (code=exited, status=1/FAILURE)
Oct 08 12:33:35 raspberrypi sip[392]: File "/home/pi/SIP/web/httpserver.py", line 167, in runsimple
Oct 08 12:33:36 raspberrypi sip[392]: server = WSGIServer(server_address, func)
Oct 08 12:33:36 raspberrypi sip[392]: File "/home/pi/SIP/web/httpserver.py", line 188, in WSGIServer
Oct 08 12:33:36 raspberrypi sip[392]: from cheroot import wsgi
Oct 08 12:33:36 raspberrypi sip[392]: File "/home/pi/SIP/cheroot/wsgi.py", line 33, in <module>
Oct 08 12:33:36 raspberrypi sip[392]: import six
Oct 08 12:33:36 raspberrypi sip[392]: ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
Oct 08 12:33:36 raspberrypi sip[392]: MQTT publish DOWN
Oct 08 12:33:37 raspberrypi systemd[1]: sip.service: Main process exited, code=exited, status=1/FAILURE
Oct 08 12:33:37 raspberrypi systemd[1]: sip.service: Failed with result 'exit-code'.
xxxx@raspberrypi:~ $
Any ideas what I should try next? I took a backup of the whole SIP folder before trying the fixes above.
Cheers
David
I think I've struck the same issue but upgrading hasn't helped. First I tried a git pull and then the update script, both of which appeared to complete successfully but I still can't get to the Web GUI.
I'm getting this for the service:
xxxx@raspberrypi:~ $ systemctl status sip
● sip.service - SIP for Python3
Loaded: loaded (/etc/systemd/system/sip.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-10-08 12:33:37 NZDT; 4h 44min ago
Process: 392 ExecStart=/usr/bin/python3 -u /home/pi/SIP/sip.py (code=exited, status=1/FAILURE)
Main PID: 392 (code=exited, status=1/FAILURE)
Oct 08 12:33:35 raspberrypi sip[392]: File "/home/pi/SIP/web/httpserver.py", line 167, in runsimple
Oct 08 12:33:36 raspberrypi sip[392]: server = WSGIServer(server_address, func)
Oct 08 12:33:36 raspberrypi sip[392]: File "/home/pi/SIP/web/httpserver.py", line 188, in WSGIServer
Oct 08 12:33:36 raspberrypi sip[392]: from cheroot import wsgi
Oct 08 12:33:36 raspberrypi sip[392]: File "/home/pi/SIP/cheroot/wsgi.py", line 33, in <module>
Oct 08 12:33:36 raspberrypi sip[392]: import six
Oct 08 12:33:36 raspberrypi sip[392]: ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
Oct 08 12:33:36 raspberrypi sip[392]: MQTT publish DOWN
Oct 08 12:33:37 raspberrypi systemd[1]: sip.service: Main process exited, code=exited, status=1/FAILURE
Oct 08 12:33:37 raspberrypi systemd[1]: sip.service: Failed with result 'exit-code'.
xxxx@raspberrypi:~ $
Any ideas what I should try next? I took a backup of the whole SIP folder before trying the fixes above.
Cheers
David