thelastWallE / OctoprintKlipperPlugin

A plugin for a better integration of Klipper into OctoPrint.
GNU Affero General Public License v3.0
65 stars 14 forks source link

Klipper configuration file is no more loaded in octoklipper settings. #4

Closed lcha78 closed 4 years ago

lcha78 commented 4 years ago

Klipper configuration file is no more loaded in octoklipper settings. It was working in 0.3.0

Since you rename path to configpath, I think that this line (26) is the problem in OctoprintKlipperPlugin/octoprint_klipper/templates/klipper_settings.jinja2 : " " should be " "

AliceGrey commented 4 years ago

@lcha78 Could you test the PR and let me know if that resolves the issue?

MoJo2600 commented 4 years ago

I can confirm that the configuration is shown in the PR. I have my configuration in ~/printer.cfg and I can see it on the settings page.

AliceGrey commented 4 years ago

Thank you!

MoJo2600 commented 4 years ago

Buuut.. there seems to be another issue. If I save the configuration the files gets truncated and is then empty. I'm trying to figure out whats wrong.