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?
26 Replies
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
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
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
i dont have that section in my config
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
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
how about RatOS/homing.cfg]
file is there
odd.... @miklschmidt have a clue here? klipper error says
but files seem to be in place
i did see @miklschmidt suggest running this, ssh [email protected]
sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh
have you run that script?
nah i was going to try it when i get home
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
yeah this is the first time for me, every update has been flawless till this one
bummer...guess we best wait on mike
sorry I couldn't be of more help
i might give that script a go when i get home, worst case is i pull my config and start again
odd though that the log used a variable ....
raise error("Section '%s' is not a valid config section"
yeah, i thought maybe something had been changed and my config was invaild now
from what to what? Ratos 1.x isn't compatible with 2.x
i started on ratrig 2.X
im too new to be on 1.X ha
i only built my ratrig in april
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
can confirm running sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh fixed my issue
this + clicking "symlink klippy extensions" in the configurator, should fix it. It can/will happen if you hard reset klipper.
Hence why these are restored when RatOS is updated (and why you have a button for it in the configurator).
excellent