Error module 'toolhead' has no attribute 'add_printer_objects'

I just updated klipper and got an error
Internal error during connect: module ‘toolhead’ has no attribute ‘add_printer_objects’
I updated the motherboard firmware to the latest version and the error remained.
I don’t understand what kind of error it is, Google doesn’t tell me anything
Printer Model: corexy
MCU / Printerboard: btt pro 1.1
Host / SBC raspberry 4
klippy.log (17.1 KB)

1 Like

Your Klipper version is modified. The error likely comes from these modifications. Revert them and check if the error persists.


the modification is not related to klippy.py

You will not start discussing with me, right?

Git version: 'v0.12.0-396-gb7233d11-dirty'
Untracked files: klippy/extras/gcode_shell_command.py
Modified files: docs/Config_Changes.md, docs/Config_Reference.md, docs/Measuring_Resonances.md, klippy/extras/resonance_tester.py, klippy/extras/shaper_calibrate.py, klippy/toolhead.py, lib/rp2040_flash/main.c

There’s no point in arguing, but the error is in a file that hasn’t been changed.

I will try to remove Klippain-ShakeTune and check

mmmh???

1 Like



I must say that your remarks are inappropriate!

I’m not really sure what you are trying to convey.

  1. Your log in the first post clearly shows “untracked” as well as “modified” files.
  2. Your error message mentions one section that has been modified, i.e., the klippy/toolhead.py with the error message AttributeError: module 'toolhead' has no attribute 'add_printer_objects'.
  3. I told you to revert the modifications and recheck.
  4. Pretending to be offended, you are sending random screenshots that apparently have the modified files fixed.

So, if you still experience the AttributeError: module 'toolhead' has no attribute 'add_printer_objects' after having reverted the modifications, please post a new klippy.log showing this.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.