HELP: Klipper Error after printer switched off (without shutdown)
Hi, one of my kids decided is a good idea to switch off the printer after it has finished a print job. Just he didn't use the shutdown in Mainsail, but the actual power switch.
Right now the error I am fighting is: "Internal error during connect: unexpected EOF while parsing (<unknown>, line 0)"
klippy.log stored this:
Unhandled exception during connect
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
self._read_config()
File "/home/pi/klipper/klippy/klippy.py", line 141, in _read_config
self.load_object(config, section_config.get_name(), None)
File "/home/pi/klipper/klippy/klippy.py", line 130, in load_object
self.objects[section] = init_func(config.getsection(section))
File "/home/pi/klipper/klippy/extras/gcode_macro.py", line 191, in load_config_prefix
return GCodeMacro(config)
File "/home/pi/klipper/klippy/extras/gcode_macro.py", line 148, in init
config.get(option))
File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 0
^
SyntaxError: unexpected EOF while parsing
Do you guys know what shall I do?
Right now the error I am fighting is: "Internal error during connect: unexpected EOF while parsing (<unknown>, line 0)"
klippy.log stored this:
Unhandled exception during connect
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
self._read_config()
File "/home/pi/klipper/klippy/klippy.py", line 141, in _read_config
self.load_object(config, section_config.get_name(), None)
File "/home/pi/klipper/klippy/klippy.py", line 130, in load_object
self.objects[section] = init_func(config.getsection(section))
File "/home/pi/klipper/klippy/extras/gcode_macro.py", line 191, in load_config_prefix
return GCodeMacro(config)
File "/home/pi/klipper/klippy/extras/gcode_macro.py", line 148, in init
config.get(option))
File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 0
^
SyntaxError: unexpected EOF while parsing
Do you guys know what shall I do?