Section 'ratos_homing' is not a valid config section

Just reaching out to see what the fix is for this or if i need to backup my config and start again?
No description
26 Replies
ptegler
ptegler2y ago
need to see what you have in printer.cfg. as stated the section you have annotated as ratos_homing is NOT valid the way you have it entered
Quinny
Quinny2y ago
Config error Traceback (most recent call last): File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect self._read_config() File "/home/pi/klipper/klippy/klippy.py", line 145, in _read_config pconfig.check_unused_options(config) File "/home/pi/klipper/klippy/configfile.py", line 299, in check_unused_options raise error("Section '%s' is not a valid config section" configparser.Error: Section 'ratos_homing' is not a valid config section in klipper log file it looks to be a issue, it only happened after i updated
ptegler
ptegler2y ago
that's the error log showing where the rd screen stuff came from. in your printer.cfg file you have a call to stuff that is not vaild. ratos_homing is not a valid section
Quinny
Quinny2y ago
i dont have that section in my config
ptegler
ptegler2y ago
looking at your .cfg.... HOMING .... do you have a file folder RatOS/z-probe/bltouch.cfg see if the file is there.... and that the syntax in that file is legit
Quinny
Quinny2y ago
looks alright # WARNING. DO NOT EDIT THIS FILE. # To override settings from this file, you can copy and paste the relevant # sections into your printer.cfg and change it there. # Configurator Metadata # { # "type": "static-probe", # "title": "BLTouch" # } [bltouch] sensor_pin: ^bltouch_sensor_pin control_pin: bltouch_control_pin speed: 7 pin_move_time: 0.675 sample_retract_dist: 10 pin_up_reports_not_triggered: True pin_up_touch_mode_reports_triggered: True x_offset: -28 y_offset: -13 [gcode_macro RatOS] variable_z_probe: "static" # offsets for the standard BLtouch probe: # x -28 y -13 # offsets for the alternate probe: # x -33.5 y -5 # offsets are the same for V6, Dragon, Mosquito
ptegler
ptegler2y ago
how about RatOS/homing.cfg]
Quinny
Quinny2y ago
file is there
ptegler
ptegler2y ago
odd.... @miklschmidt have a clue here? klipper error says
File "/home/pi/klipper/klippy/configfile.py", line 299, in check_unused_options
raise error("Section '%s' is not a valid config section"
configparser.Error: Section 'ratos_homing' is not a valid config section
File "/home/pi/klipper/klippy/configfile.py", line 299, in check_unused_options
raise error("Section '%s' is not a valid config section"
configparser.Error: Section 'ratos_homing' is not a valid config section
but files seem to be in place
Quinny
Quinny2y ago
i did see @miklschmidt suggest running this, ssh [email protected] sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh
ptegler
ptegler2y ago
have you run that script?
Quinny
Quinny2y ago
nah i was going to try it when i get home
ptegler
ptegler2y ago
I remember that script, but thought it was for a particular error...can't ssy at this moment if this is that error I noticed from your .cfg same hardware here... I'm running a Vc500 as well....and bltouch. but have not ever run into this error
Quinny
Quinny2y ago
yeah this is the first time for me, every update has been flawless till this one
ptegler
ptegler2y ago
bummer...guess we best wait on mike sorry I couldn't be of more help
Quinny
Quinny2y ago
i might give that script a go when i get home, worst case is i pull my config and start again
ptegler
ptegler2y ago
odd though that the log used a variable .... raise error("Section '%s' is not a valid config section"
Quinny
Quinny2y ago
yeah, i thought maybe something had been changed and my config was invaild now
blacksmithforlife
from what to what? Ratos 1.x isn't compatible with 2.x
Quinny
Quinny2y ago
i started on ratrig 2.X im too new to be on 1.X ha i only built my ratrig in april
blacksmithforlife
wait, you don't have either physical endstops or sensorless homing enabled (lines 91-105) you definitely need one of them, otherwise the printer can't home it also looks like you have a bunch of the defaults in the USER OVERRIDES section which isn't needed and should be removed
Quinny
Quinny2y ago
can confirm running sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh fixed my issue
miklschmidt
miklschmidt2y ago
this + clicking "symlink klippy extensions" in the configurator, should fix it. It can/will happen if you hard reset klipper.
No description
miklschmidt
miklschmidt2y ago
Hence why these are restored when RatOS is updated (and why you have a button for it in the configurator). excellent
Want results from more Discord servers?
Add your server