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 does not run in terminal mode on Ubuntu 22.04 - part 2 #7

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

Comments

@SeptenJDT
Copy link

After solving the quotes in TerminalUserInterfaces.py, I get following error upon launching in terminal mode.

(myenv) pi@rpi-ros2:~/PyDataLink$python3 pyDatalink.py -m TUI
Traceback (most recent call last):
File "/home/pi/PyDataLink/pyDatalink.py", line 156, in
DatalinkApp(config_args=parser.parse_args()).start()
File "/home/pi/PyDataLink/pyDatalink.py", line 108, in start
self.datalink__terminal_start()
File "/home/pi/PyDataLink/pyDatalink.py", line 119, in datalink__terminal_start
sys.exit(self.user_interface.MainMenu())
AttributeError: 'TerminalUserInterface' object has no attribute 'MainMenu'. Did you mean: 'main_menu'?

(myenv) pi@rpi-ros2:~/PyDataLink$

This is solved by calling main_menu instead of MainMenu in pyDataLink.py

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