Closed M3HNGRY closed 9 months ago
I'm also having the same issue. I looked in the prime_line.cfg file and can't find a reference to ADAPTIVE_PRIMELINE. I'm wondering if the PRIMELINE macro was supposed to be renamed to ADAPTIVE_PRIMELINE.
Though there's a ton of references in start_print.cfg. I'm going to look through those to try and find the problem.
@Frix-x Found the fix!
The START_PRINT macro was missing "variable_adaptive_primeline: 1" inside it. Redefining it in the overrides to add that fixes it.
Adaptive prime line variable was indeed added a couple of hours ago. I still need to fix the rest. Thanks for raising this issue :)
Everything should be fixed except the Neopixel part. Do you have more info about the problem?
Frix,
I have updated and now printing. I think we are good to go now. I will keep an eye on the neopixel part and open a new ticket if there is any more errors. . Thanks!
Thanks! I'll close this issue then :)
Klippain branch
Version
v4.3.0-0-geeb49160
Describe the bug and expected behavior
Updated to the latest Klippain. Octopus, Tap, SB2240, BTT USB2CAN, and Pi4. Able to input shape x and y now. When I go to print.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/mainsail/klipper/klippy/extras/virtual_sdcard.py", line 268, in work_handler self.gcode.run_script(self.on_error_gcode.render()) File "/home/mainsail/klipper/klippy/gcode.py", line 229, in run_script self._process_commands(script.split('\n'), need_ack=False) File "/home/mainsail/klipper/klippy/gcode.py", line 211, in _process_commands handler(gcmd) File "/home/mainsail/klipper/klippy/gcode.py", line 137, in
func = lambda params: origfunc(self._get_extended_params(params))
File "/home/mainsail/klipper/klippy/extras/gcode_macro.py", line 189, in cmd
self.template.run_gcode_from_command(kwparams)
File "/home/mainsail/klipper/klippy/extras/gcode_macro.py", line 68, in run_gcode_from_command
self.gcode.run_script_from_command(self.render(context))
File "/home/mainsail/klipper/klippy/gcode.py", line 226, in run_script_from_command
self._process_commands(script.split('\n'), need_ack=False)
File "/home/mainsail/klipper/klippy/gcode.py", line 211, in _process_commands
handler(gcmd)
File "/home/mainsail/klipper/klippy/gcode.py", line 137, in
func = lambda params: origfunc(self._get_extended_params(params))
File "/home/mainsail/klipper/klippy/extras/virtual_sdcard.py", line 138, in cmd_SDCARD_RESET_FILE
raise gcmd.error(
gcode.CommandError: SDCARD_RESET_FILE cannot be run from the sdcard`