Hello!
I need help with printing via virtual sd card.
I’ve been using klipper for almost 2 years with no issue though after I updated it to v0.9.1, I’ve encountered an issue with printing via virtual sd card.
When I click the “sd card” menu on the lcd screen, klipper freezes and shuts down.
Also, “Menu” is missing from lcd screen.
Any help and suggestion would be appreciated.
Thank you in advance!
Following is part of klipper log.
Unhandled exception during run
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 201, in run
self.reactor.run()
File "/home/pi/klipper/klippy/reactor.py", line 269, in run
g_next.switch()
File "/home/pi/klipper/klippy/reactor.py", line 310, in _dispatch_loop
timeout = self._check_timers(eventtime, busy)
File "/home/pi/klipper/klippy/reactor.py", line 156, in _check_timers
t.waketime = waketime = t.callback(eventtime)
File "/home/pi/klipper/klippy/reactor.py", line 48, in invoke
res = self.callback(eventtime)
File "/home/pi/klipper/klippy/extras/buttons.py", line 76, in <lambda>
(lambda e, s=self, b=nb: s.handle_button(e, b)))
File "/home/pi/klipper/klippy/extras/buttons.py", line 82, in handle_button
callback(eventtime, (button & mask) >> shift)
File "/home/pi/klipper/klippy/extras/display/menu_keys.py", line 96, in click_callback
self.callback('click', eventtime)
Connection to 10.0.0.4 closed by remote host.y/menu.py", line 1030, in key_event
Connection to 10.0.0.4 closed.time, key)
PS C:\WINDOWS\system32> /klippy/extras/display/menu.py", line 1023, in _click_callback
self.press(event)
File "/home/pi/klipper/klippy/extras/display/menu.py", line 932, in press
self.stack_push(current)
File "/home/pi/klipper/klippy/extras/display/menu.py", line 807, in stack_push
container.update_items()
File "/home/pi/klipper/klippy/extras/display/menu.py", line 350, in update_items
if item.is_enabled()]
File "/home/pi/klipper/klippy/extras/display/menu.py", line 94, in is_enabled
return self.eval_enable(context)
File "/home/pi/klipper/klippy/extras/display/menu.py", line 115, in eval_enable
return bool(ast.literal_eval(self._enable_tpl.render(context)))
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 1
/home/pi/.octoprint/uploads/table_saw_0.5in.gcode
^
SyntaxError: invalid syntax
Transition to shutdown state: Unhandled exception during run
Sineos: Edit formatting