-
-
Notifications
You must be signed in to change notification settings - Fork 815
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
Error printing label cannot import name 'ImageDraw' from 'PIL' (/root/.local/lib/python3.11/site-packages/PIL/__init__.py) #8742
Comments
@Agilitytime please include the full error log - which should be available via the admin interface If you are not seeing any error messages there you may need to enable the Log Report Errors setting |
Hi, |
@gab696 are you using docker also? |
Yes, a fresh install of the last stable release 0.17.1 / Debian 11 |
@gab696 I cannot reproduce this on what I think is the same setup. Label printing works just fine! Can you please share the following: System InformationVersion Info> docker compose run --rm inventree-server invoke version
PIL Library Version> docker compose run --rm inventree-server pip show pillow
|
Please verify that this bug has NOT been raised before.
Describe the bug*
Hi,
its not possible to print a label.
After clicking on the Print button, the following error code plobs up.
Error printing label
cannot import name 'ImageDraw' from 'PIL' (/root/.local/lib/python3.11/site-packages/PIL/init.py)
it dusent matter, whitch Print method is used.
Steps to Reproduce
1 go to Print Actions
2 Print Label
Expected behaviour
Print a Label or Generate PDF
Deployment Method
Version Information
New Deployed Version, now Update etc.
77ae06b03ba5 inventree/inventree:stable "/bin/ash ./init.sh …" 21 minutes ago Up 21 minutes 8000/tcp inventree-worker
16124c1834c1 caddy:alpine "caddy run --config …" 21 minutes ago Up 21 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 443/udp, 2019/tcp inventree-proxy
db55c3ab38f9 inventree/inventree:stable "/bin/ash ./init.sh …" 21 minutes ago Up 21 minutes 8000/tcp inventree-server
6bbe316798dc postgres:13 "docker-entrypoint.s…" 21 minutes ago Up 21 minutes 5432/tcp inventree-db
478056b8e58f redis:7.0 "docker-entrypoint.s…" 21 minutes ago Up 21 minutes 6379/tcp
Please verify if you can reproduce this bug on the demo site.
Relevant log output
The text was updated successfully, but these errors were encountered: