Closed markusbuschhoff closed 6 months ago
I have the exact same prolem and it is annoying as f* xD
Same here saving spool from template doesn't work
This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.
This is still an issue.
as a comment for users facing this: a good workaround is taking another spool in the overview and use the copy function there.
This works.
Same issue, workaround by markusdd works.
Project seems quite dead
This plugin is under new management at dojohnso OctoPrint-SpoolManager where I have fixed the template issue in the 1.7.3 release. The new management is now registered in the official Octoprint plugins list so you can install like normal.
This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.
This issue was closed, because it has been already marked for 10 days with no activity.
v1.70, adding spools from scratch works. However, marking a spool as template and then adding/copy template and modifying the spool does not save it. I modified display name, color, switched to "Filament Amount" calculations, entered start/end weight (with empty spool weight filled from template). All fields get calculated correctly. Saving fails (spool not showing up). Log excerpt:
2023-07-25 15:58:23,703 - octoprint.plugins.SpoolManager - INFO - API Save spool 2023-07-25 15:58:23,707 - octoprint.plugins.SpoolManager - INFO - Load spool for update with database id '' 2023-07-25 15:58:23,727 - octoprint.plugins.SpoolManager - WARNING - Save spool failed. Inital loading not possible, maybe already deleted. 2023-07-25 15:58:23,728 - octoprint - ERROR - Exception on /plugin/SpoolManager/saveSpool [PUT] Traceback (most recent call last): File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(*view_args) File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/init.py", line 1686, in wrapper return f(args, **kwargs) File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_SpoolManager/api/SpoolManagerAPI.py", line 973, in saveSpool newDatabaseId = self._databaseManager.saveSpool(spoolModel, withReusedConnection=True) File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_SpoolManager/DatabaseManager.py", line 1068, in saveSpool totalWeight = spoolModel.totalWeight AttributeError: 'NoneType' object has no attribute 'totalWeight'