Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No spool selected" when starting a print #48

Open
DanielChydz opened this issue Sep 18, 2023 · 5 comments
Open

"No spool selected" when starting a print #48

DanielChydz opened this issue Sep 18, 2023 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@DanielChydz
Copy link

Opening the issue here again since original repo appears to be no longer maintained. The issue has been known for years. Please, fix it.

image

octoprint.log

2023-09-18 18:26:59,729 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 5, 'spoolName': 'Black 4', 'material': 'PLA', 'colorName': 'black', 'remainingWeight': 29.11168592375251}' to event-bus
2023-09-18 18:26:59,732 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 5, 'spoolName': 'Black 4', 'material': 'PLA', 'colorName': 'black', 'remainingWeight': 29.11168592375251}' to event-bus
2023-09-18 18:27:04,582 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 5, 'spoolName': 'Black 4', 'material': 'PLA', 'colorName': 'black', 'remainingWeight': 29.11168592375251}' to event-bus
2023-09-18 18:27:04,585 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 5, 'spoolName': 'Black 4', 'material': 'PLA', 'colorName': 'black', 'remainingWeight': 29.11168592375251}' to event-bus
2023-09-18 18:27:08,055 - octoprint.plugins.SpoolManager - DEBUG - API Load all spool
2023-09-18 18:27:08,063 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 5, 'spoolName': 'Black 4', 'material': 'PLA', 'colorName': 'black', 'remainingWeight': 29.11168592375251}' to event-bus

SpoolManager 1.7.0
OctoPrint 1.9.2
Hosted on Windows 10

Option below does not resolve the issue
image

@flaviut
Copy link

flaviut commented Nov 5, 2023

In my case, the problem is that the Octoprint analysis incorrectly determined the print contained no extrusion: "Model contains no extrusion."

image

This was then in turn caused by an error in the analysis code, which was caused by a change in Python 3.11 and the PrintTimeGenius plugin:

2023-11-05 11:33:21,133 - octoprint.printer.standard - ERROR - Error while pausing the analysis queue
Traceback (most recent call last):
  File "/opt/octoprint/lib/python3.11/site-packages/octoprint/printer/standard.py", line 1482, in on_comm_state_change
    self._analysisQueue.pause()  # only analyse files while idle
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/octoprint/lib/python3.11/site-packages/octoprint/filemanager/analysis.py", line 129, in pause
    q.pause()
  File "/opt/octoprint/lib/python3.11/site-packages/octoprint/filemanager/analysis.py", line 265, in pause
    self._do_abort()
  File "/opt/octoprint/lib/python3.11/site-packages/octoprint_PrintTimeGenius/__init__.py", line 207, in _do_abort
    if _allow_analysis(self._plugin._printer, self._plugin._settings):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/octoprint/lib/python3.11/site-packages/octoprint_PrintTimeGenius/__init__.py", line 186, in _allow_analysis
    if not isinstance(thermostat, collections.Mapping) or not 'actual' in thermostat or not 'target' in thermostat or thermostat['target'] is None:
                                  ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Mapping'

@Letme
Copy link

Letme commented Nov 29, 2023

Here is how I reach this (or similar) issue:

You do print 1, select spools and start the print. Once print completes (failure or not), you select print 2, spools below in UI remain the same, but when you click Print, it tells you Tool 0 and Tool 1 are not selected. Sometimes you delete selection of 1 spool and reselect the same spool from lets say Tool 0 and you can print (both Tools then have spools - no warning), but other times I need to delete both spools and reselect them.

@mdziekon mdziekon added bug Something isn't working help wanted Extra attention is needed labels Dec 19, 2023
@thegreekgeek
Copy link

Just dropping in to say that I'm getting something similar when I try to print a continuous print .gjob file, the plugin freaks out and says there's no metadata associated with the file and the required filament is unknown.

@icariantk
Copy link

But to avoid stale, same problem here.

@mfr69bs
Copy link

mfr69bs commented Aug 5, 2024

Same problem here:
Required Filament unknown Ungefähre Dauer: - Kosten: no filament from meta

ATTENTION: Needed filament could not calculated (missing metadata or spool-fields) There is no spool selected for Tool 0 despite it being used (maybe) by this print. Do you want to start the print without a selected spool?

SpoolManager 1.7.3
OctoPrint 1.10.2 (based on OctoPi 1.0.0 (build 2024.06.18.085851)
Python 3.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants