Open ckortenhorst opened 10 months ago
Not sure what the solution is, but that syntax is only valid from Python 3.6. Probably you'd have to upgrade the BBB base image/system. The line from the error message doesn't exist in the master branch, not sure which branch you're really using. May the branch's README.md will tell you what base system you need.
Edit: you could also try python3 --version
. If that works, change python
to python3
in driveboardapp.sh.
I just rediscovered the instructions I wrote in my own fork (https://github.com/martinxyz/LasaurApp), so basically I had issues (bugs) with the Python3 version of that BBB image. So even if you can install Python3 it may be simply too old to run any recently written Python code.
(Btw. we still use the Pulseraster fork in our FabLab, but it's not maintained/updated any more. I'm not sure what the best fork would be to use these days. Pulserster still has a small number of additional bugfixes and the somewhat clunky raster GUI that kind-of-works, but isn't perfect or convenient. And you'd need to update the BBB image too, which is a bit annoying to do.)
@ckortenhorst I would also flag my fork as a python3-compatible version with some more bugfixes and features: https://github.com/scottshambaugh/driveboardapp
I am trying to upgrade from laserapp 14.11 using a BBB
Did run following git clone https://github.com/nortd/driveboardapp.git cd driveboardapp scripts/install_packages.sh scripts/upgrade_to_driveboardapp.sh sync reboot
SSH in to BBB and run ./driveboardapp/scripts/driveboardapp.sh start
getting following
Any thoughts?
IMG on BBB lasersaur-BBB-image-v15.01.img.xz Running Python 2.7.6