SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.44k stars 304 forks source link

Error selecting webthings_gateway in the menu #583

Closed ukkopahis closed 1 year ago

ukkopahis commented 2 years ago

When pressing space to select: image

ukkopahis commented 2 years ago

And after CTRL-c

Traceback (most recent call last):
  File "./scripts/buildstack_menu.py", line 359, in loadService
    dockerComposeServicesYaml[serviceName] = yaml.load(yamlServiceFile)[serviceName]
  File "/home/blomkim/.local/lib/python3.9/site-packages/ruamel/yaml/comments.py", line 927, in __getitem__
    return ordereddict.__getitem__(self, key)
KeyError: 'webthings_gateway'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/blomkim/src/IOTstack/./scripts/menu_main.py", line 456, in <module>
    runSelection(currentMenuItemIndex)
  File "/home/blomkim/src/IOTstack/./scripts/menu_main.py", line 411, in runSelection
    mainMenuList[selection][1]()
  File "/home/blomkim/src/IOTstack/./scripts/menu_main.py", line 110, in buildStack
    exec(code, execGlobals, execLocals)
  File "./scripts/buildstack_menu.py", line 635, in <module>
    main()
  File "./scripts/buildstack_menu.py", line 616, in main
    checkMenuItem(selection) # Update checked list
  File "./scripts/buildstack_menu.py", line 538, in checkMenuItem
    loadService(menu[selection][0])
  File "./scripts/buildstack_menu.py", line 373, in loadService
    input("Press Enter to exit...")
KeyboardInterrupt