This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Service fails after upgrading from GIT
#1
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:

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!
Reply


Messages In This Thread
Service fails after upgrading from GIT - by jamos.tan@gmail.com - 2020-09-13, 11:11 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)