update to 2.1 RC3 gives configuration error: 'allow_unknown_gcode_generator' is not valid

Recently installed RatOS 2.1 RC2. Updated RatOS to RC3 via mainsail. Subsequently updated RatOS Configurater upon which I now get the error shown in the image. How does one clean this up? Do I need to run configuration again?
No description
Solution:
sorry ratos doctor
Jump to solution
23 Replies
blacksmithforlife
debug.zip please
sherbs
sherbsOP20h ago
how do i generate that?
blacksmithforlife
I don't see that in any of your configs which is confusing...
sherbs
sherbsOP20h ago
yeah - but it does show up in the klippy log - i'm just not sure which file it's being pulled from
blacksmithforlife
how familiar are you with linux and command line? You could try SSHing into the pi and searching in /home/pi/printer_data/ with grep for allow_unknown_gcode_generator something like grep -rl allow_unknown_gcode_generator /home/pi/printer_data/
sherbs
sherbsOP18h ago
quite familiar actually... i'll do that this afternoon... taking a break for a bit found it in ~/printer_data/config/RatOS/printers/base.cfg took out the offending line and now seeing the following warnings:
sherbs
sherbsOP18h ago
No description
sherbs
sherbsOP18h ago
feels like the update maybe didn't clean some things up properly? indeed, there is no '.git' folder where that macro is looking plenty of others:
sherbs
sherbsOP18h ago
No description
blacksmithforlife
try running ratos-doctor
Solution
blacksmithforlife
sorry ratos doctor
sherbs
sherbsOP18h ago
No description
sherbs
sherbsOP18h ago
here's the output from ratos doctor:
sherbs
sherbsOP18h ago
No description
sherbs
sherbsOP18h ago
definitely did something well, stuck at the above - seems like these shouldn't be problems - not sure what to do at this point... maybe just burn RC2 again and start from there? hold on - klipper now showing it needs an update... let's see where that goes... RatOS Core now showing dirty due to modifying base.cfg... what is the difference between soft recovery and hard recovery? will either restore the file?
TheTik
TheTik18h ago
Both will break things and you'll need to do the doctor again
sherbs
sherbsOP17h ago
ran soft recovery and seems fine now... i think the initial error was due to klipper needing an update same with the subsequent error... running the klipper update seems to have solved both problems
blacksmithforlife
yeah, you aren't supposed to edit those files yourself as TheTik said, soft and hard recovery mess things up. Cover your bases and re-run ratos doctor
sherbs
sherbsOP17h ago
yes, i know... but was trying to dig into the issue stopping klipper from running... i think i understand why... a bit surprised that ratos doctor didn't identify that klipper needed an update
blacksmithforlife
it isn't checking for updates, it is just restoring things to how they should be
sherbs
sherbsOP17h ago
I see I think I'm ok now I'll mark this solved

Did you find this page helpful?