-
Notifications
You must be signed in to change notification settings - Fork 58
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
Images break the API #102
Comments
hi! never seen this error before, and a quick google says this is probably due to the color space of the image, mhh. Are you perhaps using this on an arm/v7 (I think the raspi 3 had one of those, but I'm not 100% sure)? I ask because I had some reports of the docker image for that arch having some problems but I could never test that |
Hi, thanks for getting back and sorry that this turned out to be lateral to the codebase! No, I'm on x86_64. It's running on an Ubuntu VM, virtualized on Proxmox, running the host's instruction set. |
Did you add some exercises yourself with some images? Otherwise this doesn't make much sense, I just started a fresh docker install, pulled all exercises and images and didn't get any errors (plus this should also happen on the "official" server, which uses the exact same docker setup). |
Weird; I had replied to this issue via the email notification, but it somehow did not land. Excuse my lack of documentation (I can back it up later, if necessary), but I got the exact same error deploying it on my M1 MacBook Pro. |
I finally managed to reproduce this. Interestingly neither on my raspberry nor on my macbook air could I see this, only on the intel laptop did I get the error. In any case I know what's causing it, I've added a workaround in wger-project/wger@35b0a0f so stuff should at least work now |
Getting this as well on an intel ubuntu server running in docker. |
I'm giving this self-hosting this a whirl. I had some problems with my installation, and so I retraced everything back from a fresh installation to try and pinpoint this, and it seems that downloading the images (with
docker compose exec web python3 manage.py download-exercise-images
) functionally breaks the API: PIL throws an exception, which throws a wrench on the whole gear:Thanks in advance for the attention!
The text was updated successfully, but these errors were encountered: