Had a crash while checking device settings #8

Closed
opened 2026-10-05 03:15:48 +02:00 by adam · 2 comments
Owner

Crashed it while fiddling with device settings:

  File "/opt/curses-client-for-meshtastic/main.py", line 35, in <module>
    curses.wrapper(main)
  File "/usr/lib/python3.10/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/opt/curses-client-for-meshtastic/main.py", line 32, in main
    main_ui(stdscr)
  File "/opt/curses-client-for-meshtastic/ui/curses_ui.py", line 343, in main_ui
    settings(stdscr)
  File "/opt/curses-client-for-meshtastic/settings.py", line 695, in settings
    nested_menu(popup_win, top_level_menu)
  File "/opt/curses-client-for-meshtastic/settings.py", line 566, in nested_menu
    display_values(stdscr, key_list, menu_path)
  File "/opt/curses-client-for-meshtastic/settings.py", line 514, in display_values
    setting = getattr(getattr(node.localConfig, menu_path[2]), key_list[i])
AttributeError: 'LocalConfig' object has no attribute 'device_ui'. Did you mean: 'device'?

Not sure if I could recreate it if I tried...

Crashed it while fiddling with device settings: ```Traceback (most recent call last): File "/opt/curses-client-for-meshtastic/main.py", line 35, in <module> curses.wrapper(main) File "/usr/lib/python3.10/curses/__init__.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "/opt/curses-client-for-meshtastic/main.py", line 32, in main main_ui(stdscr) File "/opt/curses-client-for-meshtastic/ui/curses_ui.py", line 343, in main_ui settings(stdscr) File "/opt/curses-client-for-meshtastic/settings.py", line 695, in settings nested_menu(popup_win, top_level_menu) File "/opt/curses-client-for-meshtastic/settings.py", line 566, in nested_menu display_values(stdscr, key_list, menu_path) File "/opt/curses-client-for-meshtastic/settings.py", line 514, in display_values setting = getattr(getattr(node.localConfig, menu_path[2]), key_list[i]) AttributeError: 'LocalConfig' object has no attribute 'device_ui'. Did you mean: 'device'? ``` Not sure if I could recreate it if I tried... <!-- github-sync-id:2787264239 -->
adam closed this issue 2026-10-05 03:15:48 +02:00
Author
Owner

Thanks for the report. The Settings menu is currently full of issues if you poke around enough. It's on my list to overhaul.

Thanks for the report. The Settings menu is currently full of issues if you poke around enough. It's on my list to overhaul. <!-- github-comment-id:2590131383 -->
Author
Owner

Settings dialogue has been refactored. Closing this to make room for new bugs.

Settings dialogue has been refactored. Closing this to make room for new bugs. <!-- github-comment-id:2603387963 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#8