PetitTournesol / Edgeware

Elsavirus inspired fetishware, built from the ground up to use interchangeable packages for better user experience.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programm crashes

Eisblume-2000 opened this issue · comments

so the program never starts it keeps crashing and producing the same log:
CRITICAL:failed to start popup
module 'PIL.Image' has no attribute 'ANTIALIAS'
Sun_Jul__2_03-10-17_2023-popup.txt

While working on a fork of the program I've seen warning about the ANTIALIAS attribute being deprecated and that it would be removed on future version of PIL.

Seems like it is now. For the moment you can try to downgrade your PIL version.
See: https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#deprecations

So using versions <10.0 should work.

Try to use one of these commands:

  • pip install --force-reinstall -v "Pillow==9.5"
  • python -m pip install --force-reinstall -v "Pillow==9.5"
  • py -m pip install --force-reinstall -v "Pillow==9.5"

You could also try my branch trying to fix this issue:
https://github.com/Sassy0P/Edgeware/tree/fix-deprecated-pillow-antialiasing

yes that worked, thank you very much

commented

I apologize, I am having the same issue, however when I try to type the suggested commands into python I just get a invalid syntax error. Am I supposed to be typing those commands there or somewhere else?

I apologize, I am having the same issue, however when I try to type the suggested commands into python I just get a invalid syntax error. Am I supposed to be typing those commands there or somewhere else?
Could you shar person the output. Else it will be hard to help

You could also try my branch trying to fix this issue: https://github.com/Sassy0P/Edgeware/tree/fix-deprecated-pillow-antialiasing

this works great but there's an issue with shortcuts always showing up when you launch the program any help would be appreciated