-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unable to print and no errors, however brother_ql CLI works #17
Comments
As it seems brother_ql is working from direct terminal commands, I had a quick look to see if there's a way for this plugin to detect when it's print fails (as I'm not seeing any error in InvenTree). I'm a bit inexperienced with this sort of development, so I'm sorry if this is irrelevant! It looks like the underlying brother_ql package's In any case, it may be worth checking for |
@cabottech I have used the plugin for some time but yesterday it did no longer work, just silently dropping the print as you describe. I run my system on an Ubuntu server 20.04 under VirtualBox. Not sure at what point in time or why it stopped working though. I actually have not done any changes lately what I can recall except pulling the latest InvenTree development version but the problem seems to rather be related to the After setting DEBUG level to INFO I could see an error reported in the cluster.err.log about Not sure if it is required, but before I did that I first installed the libpoppler-dev package: Now my printer works as before :-) |
Hi @gunstr, thanks for the suggestion. I'm not seeing any errors in DEBUG or INFO, but tried This is my first try at printing from InvenTree, so I may be doing something obvious and stupid... |
@gunstr did you recently update the @cabottech the background worker thread must be operational for printing to work - if it is up, there should be a log message here? |
No, I'm on the the 0.5.0 release as my env is still on Python 3.8 and I have not read up on how to upgrade to a later version. I actually have no clue why this happened as I can't recall I have done any changes since I used the printer a few weeks back (except pulling the latest InvenTree development version as I mentioned). But obviously I have done something that removed |
Ohhh, I completely missed that! I found this in the log for the 'inventree-worker' docker container when attempting another print:
This lead me down a rabbit hole, but I found the issue was that the inventree-worker docker container didn't have Sorry for the run around, and thank you for the excellent plugin :) |
Hi @SchrodingersGat, I've just installed this plugin and having trouble printing on a Brother QL-810W.
The issue I'm seeing:
Install/config info:
INVENTREE_PLUGINS_ENABLED = True
, added 'inventree-brother-plugin' to plugins.txt, and restarted the server.What I've tried:
From the inventree-server docker container CLI/terminal, I have:
Other things I've tried:
brother_ql
command, the printer blinks red (error). However if I try the same from InvenTree the printer does nothing, no red blinking, so it's like the data isn't received at all?I'm a bit lost what to try next. Any suggestions would be appreciated :)
The text was updated successfully, but these errors were encountered: