malnvenshorn / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
131 stars 60 forks source link

Start print button only available on one spool #199

Closed Silventar closed 4 years ago

Silventar commented 4 years ago

Describe the bug When I start a print, I am presented with a dialog to select a spool. The spool I want to use has plenty of filament left, but the start print button is greyed out. I can select another spool that has no filament left, and the start print button becomes available (orange.) However, no other spool causes the start print button to be available. Restarting the server does not help.

Steps to reproduce

  1. Start a print.
  2. Select a spool.
  3. Start print unavailable, so select another spool.
  4. Still unavailable.
  5. repeat on all spools in database.

Expected behavior All spools with remaining filament should allow the start print button.

Did the same happen when all other 3rd party plugins are disabled? Have not tried disabling other plugins. This worked fine until the new Octoprint update.

Log file octoprint.log

Screenshots Shows my spools: 20200312-Octoprint-FilamentManagerSpools

Shows start print button is not available on the spool I want tu use with remaining filament: 20200312-Octoprint-StartPrintNotAvailable

Shows start print button is available on spool I don't want to use and has no filament remaining: 20200312-Octoprint-StartPrintWronglyAvailable

Additional context Raspberry Pi 4b OctoPrint: 1.4.0 Filament Manager: 0.5.3

Silventar commented 4 years ago

Ok, I figured it out. There is a filament selection on the octoprint main page in the sidebar. The two must match. The sidebar selector must be set to the spool you want to use AND the confirmation window must ALSO select the filament you want to use. That is...wierd.

I can work with this but the text in the confirmation window does not adequately explain this. It should say, in addition to what is there, "The selected spool(s) must match the spools selected in the main Octoprint Sidebar."

I, however, would prefer to not have to match it up. I would prefer to have the confirmation window not be a double check but instead update the default choice in the sidebar. I understand why this double-check system is there, but it is clunky and cumbersome. I would add a selection to the settings page to change the behavior of the dialog.

Default as is: Two Step Verification. (Dialog Box acts as a confirmation/double-check; selections must match Main Page selections.) ALT is :Single Step Verification. (Dialog Box acts as a selector screen; selections update the Main Page selections.