mmone / OctoprintKlipperPlugin

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

Plugin clean my printer.cfg #41

Open 4noxx opened 5 years ago

4noxx commented 5 years ago

hello, i think that the addon delete entries in my printer.cfg.

please look https://community.octoprint.org/t/klipper-printer-cfg-empty-after-reboot/8773/4

thx

AlmightyFrog commented 4 years ago

Happened to me also once now I guess. Good that i had a backup. That is anyhow and advise, as this plugins seems to not reload the config from disk once it has been loadaed in a browser-tab-session. So if you modify file both e.g. over SSH and in the plugin, plugin will not get changes which are done in the meantime without it.

sandos commented 4 years ago

I can trigger this at will, very easy. Try inserting a german u with an umlaut: ü. I guess it will work any weird characters such as å ä ö and so on.

sandos commented 4 years ago

This is most likely fixed in another fork:

https://github.com/codejedi365/OctoprintKlipperPlugin/commit/31c8afcb9e63f2a42eb52bb199ceca5de2555470