Advertisement
Guest User

LSpi Error messages

a guest
Dec 4th, 2023
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/lib/python3.9/configparser.py", line 789, in get
  3. value = d[option]
  4. File "/usr/lib/python3.9/collections/__init__.py", line 941, in __getitem__
  5. return self.__missing__(key) # support subclasses that define __missing__
  6. File "/usr/lib/python3.9/collections/__init__.py", line 933, in __missing__
  7. raise KeyError(key)
  8. KeyError: 'mode'
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 906, in <module>
  14. hc = Hardware(param_config=args.config)
  15. File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 79, in __init__
  16. self.cm = configuration_manager.Configuration(param_config=param_config)
  17. File "/home/lightshowpi/lightshowpi/py/configuration_manager.py", line 107, in __init__
  18. self.set_lightshow()
  19. File "/home/lightshowpi/lightshowpi/py/configuration_manager.py", line 434, in set_lightshow
  20. lghtshw["mode"] = self.config.get(ls, 'mode')
  21. File "/usr/lib/python3.9/configparser.py", line 792, in get
  22. raise NoOptionError(option, section)
  23. configparser.NoOptionError: No option 'mode' in section: 'lightshow'
  24. Error in atexit._run_exitfuncs:
  25. Traceback (most recent call last):
  26. File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 49, in exit_function
  27. hc.turn_off_lights()
  28. NameError: name 'hc' is not defined
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement