Skip to content

SyntaxError: invalid syntax on startup  #32

@ckortenhorst

Description

@ckortenhorst

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

Starting driveboardapp with --debug ...
Traceback (most recent call last):
  File "/root/driveboardapp/backend/app.py", line 40, in <module>
    import web
  File "/root/driveboardapp/backend/web.py", line 19, in <module>
    import driveboard
  File "/root/driveboardapp/backend/driveboard.py", line 1164
    print(f'WARN: pxsize of {pxsize_y} mm/px is too small. Setting to 0.01 mm/px')
                                                                                ^
SyntaxError: invalid syntax

Any thoughts?

IMG on BBB lasersaur-BBB-image-v15.01.img.xz
Running Python 2.7.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions