Page 1 of 1

Springfiles map upload: missing python module PIL

Posted: 16 Sep 2022, 14:03
by Beherith
It is probable that the last security update that happened removed the PIL library (as it has been considered deprecated for a while).
Instead, the fork of PIL called Pillow can be used as a drop in, mostly compatible replacement.

This is prevent maps from being uploaded to springfiles at the moment.

Thank you for looking into it!

Re: Springfiles map upload: missing python module PIL

Posted: 16 Sep 2022, 19:30
by raaar
uptime
19:00:06 up 5 days, 8:56, 1 user, load average: 0.42, 0.43, 0.38

Someone rebooted the server 5 days ago, maybe the changes that caused the issue happened then.

I ran this on the server

Code: Select all

python3 -m pip install pillow
Collecting pillow
  Downloading Pillow-9.2.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.2 MB)
     |████████████████████████████████| 3.2 MB 10.0 MB/s
Installing collected packages: pillow
Successfully installed pillow-9.2.0

After that I've been able to upload a map successfully.

Re: Springfiles map upload: missing python module PIL

Posted: 16 Sep 2022, 21:08
by Beherith
Thank you for the quick fix!