Open lsalgueiro opened 1 month ago
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 https://github.com/wger-project/wger/commit/35b0a0fc24aa4e849c0bb76900eb024784e8c1ab so stuff should at least work now
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!