-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Will not load manufactures with "Empty Spool Weight" to 0 #521
Comments
I would like to add mine here too, I haven't added any spools lately but it has recenty started with the same error, similar logs. It loads and works fine, however I cannot add nor see any of the manufacturers. Is there any way to fix the db? File "/home/app/spoolman/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function |
I am having the same problem. If I create a manufacturer and then create a filament and select that manufacturer the empty spool weight is not populated. The recreate steps are the same as noted above. Installation type: Native, no Docker OS: Windows |
Same issue here, just added vendor "unknow"and "0" on Empty Spool Weight and stoped to load the vendors Error 500 Installation type: Native Desktop (please complete the following information): |
OK, I just found a workaround! Use the SQL command " select * from vendor " to check what rows on vendors table have the wrong value in empty_spool_weight column. Now you need to delete or change the values on Vendor table. To delete the Vendor with the incorrect spool value: DELETE FROM vendor or change the spool value on all Vendors that have the wrong value, in this case is 0.0: UPDATE vendor use the SQL command " select * from vendor " to make sure all the values are deleted or changed correctly, then select write changes to save the changes in the DB. make sure the permissions are correct, if not use chmod to change it. I hope this helps! |
@rreisrj Thank you 🙏🏻 |
Describe the bug
I added manufacture with a spool weight of 0 and now the manufactures tab will not load and give error 500.
The purpose of 0 spool weight is because I buy refills and I do not know the type and weight of the spool it will be put on.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A manufacturer added with a default spool weight of 0.
Spoolman Host (please complete the following information):
Desktop (please complete the following information):
Additional context
Output from Logs:
The text was updated successfully, but these errors were encountered: