Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application doesn't run in Terminal mode on Raspberry Pi with Ubuntu 22.04 #6

Open
SeptenJDT opened this issue Aug 30, 2024 · 0 comments

Comments

@SeptenJDT
Copy link

When executing 'python3 pyDataLink.py -m TUI' I get following error.

Traceback (most recent call last):
File "/home/pi/PyDataLink/pyDatalink.py", line 45, in
from src.UserInterfaces.TerminalUserInterface import TerminalUserInterface
File "/home/pi/PyDataLink/src/UserInterfaces/TerminalUserInterface.py", line 77
self.port_list_menu_items.insert(i,f"[{i}] - Stream {i} - {"Connected" if port.connected else "Disonnected"} {"" if port.stream_type is None else str(port.stream_type).replace("StreamType.","- ")}")
^^^^^^^^^
SyntaxError: f-string: expecting '}'

Modifying multiple lines from double to single and single to double quotes in TerminalUserInterface.py remedies the issue eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant