Crash when cancelling Shutdown, Reboot, Reset, DB reset. #23

Closed
opened 2026-10-05 03:16:32 +02:00 by adam · 0 comments
Owner

Selecting NO or using the back arrow in the confirmation dialog causes a crash

Exception has occurred: AttributeError
'function' object has no attribute 'keys'
  File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/settings.py", line 92, in settings_menu
    options = list(current_menu.keys())
                   ^^^^^^^^^^^^^^^^^
  File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/ui/curses_ui.py", line 535, in main_ui
    settings_menu(stdscr, globals.interface)
  File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/main.py", line 49, in main
    main_ui(stdscr)
  File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/main.py", line 57, in <module>
    curses.wrapper(main)
AttributeError: 'function' object has no attribute 'keys'
Selecting NO or using the back arrow in the confirmation dialog causes a crash ``` Exception has occurred: AttributeError 'function' object has no attribute 'keys' File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/settings.py", line 92, in settings_menu options = list(current_menu.keys()) ^^^^^^^^^^^^^^^^^ File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/ui/curses_ui.py", line 535, in main_ui settings_menu(stdscr, globals.interface) File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/main.py", line 49, in main main_ui(stdscr) File "/Users/benlipsey/Meshtastic/github/pdxlocations/contact/main.py", line 57, in <module> curses.wrapper(main) AttributeError: 'function' object has no attribute 'keys' ``` <!-- github-sync-id:2811248478 -->
adam closed this issue 2026-10-05 03:16:32 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#23