Basic Information:
Printer Model: None
MCU / Printerboard: None (Host) or SKR1.3
Host / SBC: Raspberry Pi 3B+
klippy.log (19.1 KB)
As a test bench, I setup a Raspberry Pi as the sole MCU for a non-printer related project. I created a bare-bones config that started up fine, displaying the Pi temperature on the Fluidd frontend.
Defining an HX71x load cell sensor, however, results in the following error on start up (from attached log):
[load_cell]
sensor_type = hx711
sclk_pin = gpio22
dout_pin = gpio27
sample_rate = 10
=======================
Unhandled exception during connect
Traceback (most recent call last):
File "/home/hts/klipper/klippy/klippy.py", line 130, in _connect
self._read_config()
File "/home/hts/klipper/klippy/klippy.py", line 123, in _read_config
self.load_object(config, section_config.get_name(), None)
File "/home/hts/klipper/klippy/klippy.py", line 112, in load_object
self.objects[section] = init_func(config.getsection(section))
File "/home/hts/klipper/klippy/extras/load_cell.py", line 27, in load_config
return LoadCell(config, sensor_class(config))
File "/home/hts/klipper/klippy/extras/hx71x.py", line 150, in __init__
super(HX711, self).__init__(config, "hx711",
TypeError: super() argument 1 must be type, not classobj
Defining an ads1220
sensor type does not through this error, only HX711 and HX717.
I thought it might be an edge case with my bare bones setup, so I added the same [load_cell]
config section to my long-running printer with a conventional host + MCU setup, and it threw the same error on start up.
Anybody have any ideas? Any help would be appreciated