Unable to parse existing variable file

Basic Information:

Printer Model: Sovol SV07
MCU / Printerboard:stm32f103xe
Host / SBC aarch64, 64bi
klippy.log how can i download that from mainsail interface?

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

So I am basically completely new to 3D printing and my printer worked fine for a few days. Since today,after doing some bed calibration, the display is stuck in the boot up sequence where the Sovol mascot along with the loading bar is replayed over and over. When I go to mainsail, i get the following error: Klipper reports: ERROR

Unable to parse existing variable file

Once the underlying issue is corrected, use the “RESTART”
command to reload the config and restart the host software.
Printer is halted

Tbh other than plugging the power cord in and out I can not help myself anymore at this stage. The printer is completely unresponsive and replays the animation over and over.

I also don’t know how to get the klippy.log file from the mainsail web interface onto my computer/windows file explorer so I can upload it here. Whenever I hit “download” it downloads the file to idk where to and opens it in read only mode within mainsail.

This is the last entry from klippy.log right after the bed calbiration stuff:

[bed_mesh default]
version = 1
points =
0.008706, -0.055969, -0.075869, -0.078356, -0.101987, -0.019900
0.094525, 0.014925, -0.024875, -0.039800, -0.077112, -0.014925
0.104475, 0.014925, -0.042287, -0.053481, -0.075869, -0.028606
0.144275, 0.044775, -0.004975, -0.006219, -0.029850, 0.019900
0.111938, 0.018656, -0.031094, -0.032337, -0.046019, 0.002488
0.067163, -0.011194, -0.042287, -0.028606, -0.036069, 0.044775
x_count = 6
y_count = 6
mesh_x_pps = 2
mesh_y_pps = 2
algo = bicubic
tension = 0.2
min_x = 11.0
max_x = 209.95
min_y = 12.009999999999998
max_y = 205.0

[bed_mesh Adaptive]
version = 1
points =
-0.088306, -0.113181, -0.108206, -0.097012, -0.072137, -0.041044
0.007463, -0.037312, -0.055969, -0.053481, -0.041044, -0.026119
0.032338, -0.026119, -0.064675, -0.065919, -0.048506, -0.053481
0.052238, -0.013681, -0.038556, -0.026119, -0.013681, -0.006219
0.027363, -0.036069, -0.065919, -0.060944, -0.038556, -0.036069
-0.034825, -0.088306, -0.097012, -0.068406, -0.038556, 0.002488
x_count = 6
y_count = 6
mesh_x_pps = 2
mesh_y_pps = 2
algo = bicubic
tension = 0.2
min_x = 11.0
max_x = 209.95
min_y = 12.009999999999998
max_y = 205.0

Unable to parse existing variable file
Traceback (most recent call last):
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 27, in loadVariables
varfile.read(self.filename)
File “/usr/lib/python3.7/configparser.py”, line 696, in read
self._read(fp, filename)
File “/usr/lib/python3.7/configparser.py”, line 1091, in _read
fpname, lineno)
configparser.DuplicateOptionError: While reading from ‘/home/mks/printer_data/config/saved_variables.cfg’ [line 31]: option ‘z_kpa_version’ in section ‘Variables’ already exists
Config error
Traceback (most recent call last):
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 27, in loadVariables
varfile.read(self.filename)
File “/usr/lib/python3.7/configparser.py”, line 696, in read
self._read(fp, filename)
File “/usr/lib/python3.7/configparser.py”, line 1091, in _read
fpname, lineno)
configparser.DuplicateOptionError: While reading from ‘/home/mks/printer_data/config/saved_variables.cfg’ [line 31]: option ‘z_kpa_version’ in section ‘Variables’ already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 17, in init
self.loadVariables()
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 34, in loadVariables
raise self.printer.command_error(msg)
gcode.CommandError: Unable to parse existing variable file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mks/klipper/klippy/klippy.py”, line 175, in _connect
self._read_config()
File “/home/mks/klipper/klippy/klippy.py”, line 141, in _read_config
self.load_object(config, section_config.get_name(), None)
File “/home/mks/klipper/klippy/klippy.py”, line 130, in load_object
self.objects[section] = init_func(config.getsection(section))
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 64, in load_config
return SaveVariables(config)
File “/home/mks/klipper/klippy/extras/save_variables.py”, line 19, in init
raise config.error(str(e))
configparser.Error: Unable to parse existing variable file
webhooks client 281473311995272: New connection
webhooks client 281473311995272: Client info {‘program’: ‘Moonraker’, ‘version’: ‘v0.8.0-23-g18f5ff4-dirty’}

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