Springfiles map upload: missing python module PIL

Springfiles map upload: missing python module PIL

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Springfiles map upload: missing python module PIL

Post 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!
raaar
Metal Factions Developer
Posts: 1095
Joined: 20 Feb 2010, 12:17

Re: Springfiles map upload: missing python module PIL

Post 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.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Springfiles map upload: missing python module PIL

Post by Beherith »

Thank you for the quick fix!
Post Reply

Return to “Help & Bugs”