TypQxQ / kTAMV

Klipper Tool Alignment (using) Machine Vision
GNU General Public License v3.0
71 stars 8 forks source link

kTAMV broken after updating Klipper #11

Open trxgt05 opened 5 months ago

trxgt05 commented 5 months ago

I had kTAMV working before, but I updated klipper and now I get an error when klipper tries to start: "Section 'ktamv' is not a valid config section"

I've tried to re-install kTAMV with the command bash ~/kTAMV/install.sh but the script ends shortly after doing the update with this message which appears to not complete the install: "Just a second... kTAMV or something else was detected running on port 8085.

This install script is used to install kTAMV for Mainsail, Fluidd, Moonraker, etc."

TypQxQ commented 5 months ago

If the server is running then it wont install again. Please check that the ktamv files inside the klipper extras folder exist and are accessible. /Andrei26 juni 2024 kl. 23:27 skrev trxgt05 @.***>: I had kTAMV working before, but I updated klipper and now I get an error when klipper tries to start: "Section 'ktamv' is not a valid config section" I've tried to re-install kTAMV with the command bash ~/kTAMV/install.sh but the script ends shortly after doing the update with this message which appears to not complete the install: "Just a second... kTAMV or something else was detected running on port 8085. This install script is used to install kTAMV for Mainsail, Fluidd, Moonraker, etc."

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

trxgt05 commented 5 months ago

I just happened to notice I could kill the KTAMV_server service from Klipper so I killed it and re-ran the install script. This time it was successful and klipper boots up as it should now. The only issue I had was it still added the include statement for the macros at the bottom of the my printer.cfg although the script said it detected it and skipped it. On that note, the install script added the ktamv section and include statements to the bottom of my printer.cfg during install which broke things until I moved them above save config section klipper uses for things you auto-configured. But technically that is a separate issue.

All that aside, I'm curious why updating klipper broke things and it would be nice to have an easier way to re-install kTAMV, or at least add some instructions in the readme.