Skip to content

Error when deleting printjob #140

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

Closed
hlipka opened this issue Mar 24, 2021 · 2 comments
Closed

Error when deleting printjob #140

hlipka opened this issue Mar 24, 2021 · 2 comments
Labels
type: bug Something isn't working

Comments

@hlipka
Copy link

hlipka commented Mar 24, 2021

I have seen this recently (I'm on 1.3.3). When doing a print, and deleting the GCode file after its finished, I get this error:

2021-03-24 19:26:10,094 - octoprint.printer.standard.job - INFO - Print job deselected - user: n/a
2021-03-24 19:26:10,122 - octoprint.plugin - ERROR - Error while calling plugin SpoolManager
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/__init__.py", line 271, in call_plugin
    result = getattr(plugin, method)(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1890, in wrapper
    return f(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_SpoolManager/__init__.py", line 445, in on_event
    self._on_file_selectionChanged(payload)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_SpoolManager/__init__.py", line 383, in _on_file_selectionChanged
    if ("origin" in payload and "path" in payload):
TypeError: argument of type 'NoneType' is not iterable

The file is not deleted, and OctoPrint seems to hang afterwards. E.g. I cannot delete other file, or start a print. Opening the settings work, but not saving them.
When I restart the RasPi and delete the file, it works again (and I can delete the file).

@OllisGit OllisGit added status: inNextRelease Will be implemented/fixed in next release type: bug Something isn't working labels Apr 18, 2021
@OllisGit
Copy link
Owner

Hii @hlipka,

thx for reporting.
Issue will be fixed in next release.

BR
Olli

OllisGit added a commit that referenced this issue May 24, 2021
- PR #161, #117, #133, #134, #153 multi tool support. Big thanks goes to @codingcatgirl
- PR #61, #59 temperature offset. Thanks a lot @WyattNielsen

- E/B #118 use newodometer.py
- E add "implementation-api"

- B #150, #116 CSV import fixed

..other tickets
- #102, #132, #135, #140, #142
@OllisGit
Copy link
Owner

Hi,
in the latest release V1.4.0 the issue should be fixed.

Please test and give me a feedback.

Thx, in advance
Olli

@OllisGit OllisGit added status: waitingForTestFeedback and removed status: inNextRelease Will be implemented/fixed in next release labels May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants