Closed akrly closed 1 month ago
@akrly interesting.. Can you please provide full version information for your installation?
InvenTree-Version: 0.15.7 Django Version: 4.2.14 Commit Hash: 0d8eb2e Commit Date: 2024-07-27
Database: postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-6.1.0-21-amd64-x86_64-with Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'Brother Labels', 'slug': 'brother', 'version': '0.9.0'}]
And the "admin" account is always successful, even when you are trying to print the exact same label items?
Okay so I was just about to send you my reply and thought let's try it one more time. I wanted to double check printing multiple copies of the same stock item .... and now it works. The only thing I did is that logged in and out of accounts.
Just to give more context:
The first time this problem occurred was yesterday. I showing a colleague how to do data entry, scanning and label printing. So I thought he can use the admin account and I'll try to hunt the bug down. After going through config, admin and plugin menus I couldn't find the root cause. That's when I raised the issue.
And here we are now. :) I successfully printed labels with the same printer from the an account that has superuser privileges and also one with only view access.
However, I am still curious what could be behind the error. Could it be a networking issue? The printer is wired to our network and the docker is running on a VM in-house on the same network.
However, I am still curious what could be behind the error. Could it be a networking issue? The printer is wired to our network and the docker is running on a VM in-house on the same network.
I think that because it is reporting a 404
it is likely that the ID of the item you tried to print did not match a valid item in the database.
Note that in later versions of InvenTree the entire printing framework has been updated and refactored - and I am pretty sure this issue has subsequently been resolved.
Glad you got it working!
Hi,
I am setting up Inventree at my company So far so good. I really love the system, but I ran into a problem. We have a QL-820NWbc printer and I can print labels with it just fine with the default "admin" account. However, I get the following error when I try to print with another user:
I tried the following already:
I am running a Docker install. Let me know if I need to provide further details.
Attila