Salandora / OctoPrint-SystemCommandEditor

This plugin makes System Commands editable through the OctoPrint WebUI
GNU Affero General Public License v3.0
9 stars 10 forks source link

Commands duplicated after the "Confirm" button pressed #21

Open spiff72 opened 5 years ago

spiff72 commented 5 years ago

Tried this plugin for the first time today - I had a few commands already set up that I did manually by editing the config.yaml file.

When I populate the fields for the Name Action and Command, and press confirm, I sometimes get multiple entries in the list (as many as 4 or 5).

I was able to right click each additional command and delete them.

ElMacBgl commented 4 years ago

I confirm the issue: I created 2 commands: start webcam & stop webcam. When I confirmed, there were 2 stop webcam commands

ej0rge commented 4 years ago

Confirmed here too. Some very weird stuff happened the first 3-4 times i tried to use this plugin. And then it started working.

Shame it's not being actively developed.

chris1601 commented 4 years ago

Same here. Exact problem as ElMacBgl described.

I confirm the issue: I created 2 commands: start webcam & stop webcam. When I confirmed, there were 2 stop webcam commands

SebDominguez commented 4 years ago

Same here

spiff72 commented 4 years ago

I removed the plugin a while ago and just edit the yaml file manually. i don't need to edit system commands that often and haven't done it in quite some time now.

SebDominguez commented 4 years ago

@spiff72 I think I'll do the same... Where is the file located?

spiff72 commented 4 years ago

I used this document in the past to help with the editing: https://docs.octoprint.org/en/master/configuration/config_yaml.html

The file should be in the hidden .octoprint folder.

spiff72 commented 4 years ago

the "SYSTEM" section on that page shows how the commands are formatted in the config.yaml file.

Salandora commented 4 years ago

Bug will be fixed with a complete rewrite of the underlaying system, because of some major bug there.

For now I do not recommend using the plugin but instead manually edit the config.yml.

robustini commented 2 years ago

Same here, please fix!

alphatrianguli commented 2 years ago

This is still an issue - can this be fixed please? Many thanks