Open slukaskawcez opened 2 years ago
My guess is either the shell interpreter or python2 is being called. You'll need Python 3. Does 'python3 ./linuxcnc-streamdeck.py' work for you? The linuxcnc-server.py file uses python2 to be compatible with LinuxCNC at the time. It's possible to rebuild the development LinuxCNC to use Python 3 now.
slukas@ShakeOko:~/linuxcnc-streamdeck$ ./linuxcnc-streamdeck.py File "./linuxcnc-streamdeck.py", line 425 msg = '\n'.join([f'{k}:{1 if v else 0}' for k,v in state_.items()]) ^ SyntaxError: invalid syntax