Service fails after upgrading from GIT - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: Service fails after upgrading from GIT (/showthread.php?tid=2924) |
Service fails after upgrading from GIT - jamos.tan@gmail.com - 2020-09-13 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 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 and this: Code: pi@openplotter:~/pypilot/pypilot $ python autopilot.py Hope you can help! RE: Service fails after upgrading from GIT - seandepagnier - 2020-09-13 It seems there are missing python packages... This is normally handled by the openplotter pypilot plugin to install/upgrade these, so I"m not sure why flask_socketio is missing. Not sure what git you pulled but it's out of date. You will also need to use "python3" not "python" to run the scripts if your default python version is 2. RE: Service fails after upgrading from GIT - jamos.tan@gmail.com - 2020-09-14 I've followed this manual: https://pypilot.org/wiki/doku.php?id=upgrading_from_git Probably this one right... https://github.com/openplotter/openplotter-pypilot For anyone having the same problems as me, I got these ones and had to override some: Code: pi@openplotter:~/openplotter-pypilot $ dpkg-buildpackage -b Code: pi@openplotter:~/openplotter-pypilot $ cd .. I've overriden with the -d flag, but then I got this one: Code: dpkg-genbuildinfo Package was created anyway so could be ignored. RE: Service fails after upgrading from GIT - Sailoog - 2020-09-14 pypilot is installed in openplotter only for python3 not for python2 so dependencies are installed only for python3 too. You must run any pypilot script using just the entry points: "pypilot", "pypilot_web"... or the script using the python version: "python3 autopilot.py", "python3 web.py" |