Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/lib/python3.9/configparser.py", line 789, in get
- value = d[option]
- File "/usr/lib/python3.9/collections/__init__.py", line 941, in __getitem__
- return self.__missing__(key) # support subclasses that define __missing__
- File "/usr/lib/python3.9/collections/__init__.py", line 933, in __missing__
- raise KeyError(key)
- KeyError: 'mode'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 906, in <module>
- hc = Hardware(param_config=args.config)
- File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 79, in __init__
- self.cm = configuration_manager.Configuration(param_config=param_config)
- File "/home/lightshowpi/lightshowpi/py/configuration_manager.py", line 107, in __init__
- self.set_lightshow()
- File "/home/lightshowpi/lightshowpi/py/configuration_manager.py", line 434, in set_lightshow
- lghtshw["mode"] = self.config.get(ls, 'mode')
- File "/usr/lib/python3.9/configparser.py", line 792, in get
- raise NoOptionError(option, section)
- configparser.NoOptionError: No option 'mode' in section: 'lightshow'
- Error in atexit._run_exitfuncs:
- Traceback (most recent call last):
- File "/home/lightshowpi/lightshowpi/py/hardware_controller.py", line 49, in exit_function
- hc.turn_off_lights()
- NameError: name 'hc' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement