Salandora / octoprint-customControl

This plugin makes Custom Controls editable through the OctoPrint WebUI
GNU Affero General Public License v3.0
26 stars 15 forks source link

Will not delete container and commands only one by one after saving, not multiple. #22

Open snoozer opened 6 years ago

snoozer commented 6 years ago

Hello,

I have tried to remove commands and the container I created, the commands can only be deleted if confirmed and then saved for each single command, multiple confirmed deleted commands and saving after does not work. Deleting a container does not work for me at all.

Hardware: Pi 3 Model B Revision a02082 (Sony, UK) OS: Octopi Version 1.3.9 Plugin: Custom Control Editor 0.2.1

I would appreciate if a fix for this would be considered.

Thanks and keep up the great work ! Jan P.

yet-another-average-joe commented 6 years ago

Hello,

same problem here ! Uninstalling or disabling Custom Control Editor does not solve the problem.

Workaround : edit config.yaml, and delete "controls:" and its data (-children, -command, name, layout)

sudo nano /home/pi/.octoprint/config.yaml

Then, restart OctoPrint. Problem solved. Be carefull with config.yaml

Fabriluc commented 5 years ago

they need to fix this, and can you do G-code commands for the printer? tried it and didnt work for me

yet-another-average-joe commented 5 years ago

No problems here with G-Code commands.

Maybe a problem with your config.yaml ?

Documentation :

http://docs.octoprint.org/en/master/configuration/config_yaml.html#controls http://docs.octoprint.org/en/master/features/custom_controls.html#sec-features-custom-controls