Rappetor / Sovol-SV08-Mainline

Getting the Sovol SV08 onto mainline Klipper
GNU General Public License v3.0
93 stars 26 forks source link

trobules with z_ofset_calibration.py #40

Closed real-alphamaennchen closed 2 months ago

real-alphamaennchen commented 2 months ago

Hi, many thanks four your great work on bringing mainline klipper to SV08! I am struggling with the z_offset_calibration.py. Here the traceback of the klippy.log:

Config error Traceback (most recent call last): File "/home/biqu/klipper/klippy/klippy.py", line 130, in _connect self._read_config() File "/home/biqu/klipper/klippy/klippy.py", line 123, in _read_config self.load_object(config, section_config.get_name(), None) File "/home/biqu/klipper/klippy/klippy.py", line 112, in load_object self.objects[section] = init_func(config.getsection(section)) File "/home/biqu/klipper/klippy/extras/z_offset_calibration.py", line 123, in load_config return ZoffsetCalibration(config) File "/home/biqu/klipper/klippy/extras/z_offset_calibration.py", line 19, in init self.offsetadjust = float(self.read_varibles_cfg_value("offsetadjust")) File "/home/biqu/klipper/klippy/extras/z_offset_calibration.py", line 44, in read_varibles_cfg_value _value = _config.get('Variables', option) File "/usr/lib/python3.9/configparser.py", line 781, in get d = self._unify_values(section, vars) File "/usr/lib/python3.9/configparser.py", line 1149, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'Variables'

As i could see the original z_offset_calibration.py was reading from the "sovol" user folder (in line 43), so i changed that to the "biqu", but the same error occurred.

Du you have any ideas what I did wrong?

real-alphamaennchen commented 2 months ago

I am so stupid, I copied the wrong file!!!!

Rappetor commented 2 months ago

Good to hear you got it solved! And thanks for the update šŸ˜„ Was already thinking, it gets the path from the printer.cfg so where did the sovol come from šŸ˜›