2020-09-13, 11:11 AM
(This post was last modified: 2020-09-13, 11:19 AM by jamos.tan@gmail.com.)
Just upgraded from GIT, after this the pypilot services take ages to startup.
I test this by doing sudo systemctl status pypilot and sudo systemctl status pypilot_web.
Strange thing is, after these commands it says:
And directly after this the services will be started and active.
However, two things are wrong now:
- webservice flask webpage cannot be loaded
- openplotter control wxwidgets app does not start when clicking the button
When troubleshooting I get these:
and this:
Hope you can help!
I test this by doing sudo systemctl status pypilot and sudo systemctl status pypilot_web.
Strange thing is, after these commands it says:
Code:
Loaded: loaded (/etc/systemd/system/pypilot_web.service; enabled; vendor preset
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-09-13 12:0
Process: 2349 ExecStart=/usr/local/bin/pypilot_web 8080 (code=exited, status=1/F
Main PID: 2349 (code=exited, status=1/FAILURE)
Sep 13 12:05:03 openplotter systemd[1]: pypilot_web.service: Main process exited,
Sep 13 12:05:03 openplotter systemd[1]: pypilot_web.service: Failed with result 'e
And directly after this the services will be started and active.
However, two things are wrong now:
- webservice flask webpage cannot be loaded
- openplotter control wxwidgets app does not start when clicking the button
When troubleshooting I get these:
Code:
pi@openplotter:~/pypilot/web $ python web.py
Traceback (most recent call last):
File "web.py", line 14, in <module>
from flask_socketio import SocketIO, Namespace, emit, join_room, leave_room, \
ImportError: No module named flask_socketio
and this:
Code:
pi@openplotter:~/pypilot/pypilot $ python autopilot.py
('WARNING: python ujson library failed, parsing will consume more cpu', ImportError('No module named ujson',))
Traceback (most recent call last):
File "autopilot.py", line 21, in <module>
from pipeserver import pypilotPipeServer
File "/home/pi/pypilot/pypilot/pipeserver.py", line 15, in <module>
from pypilot.server import pypilotServer, DEFAULT_PORT, default_persistent_path, LoadPersistentData
ImportError: cannot import name LoadPersistentData
Hope you can help!