Skip to content
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

PIL.Image module has no attribute ANTIALIAS #393

Closed
xmgz opened this issue Jul 14, 2023 · 6 comments
Closed

PIL.Image module has no attribute ANTIALIAS #393

xmgz opened this issue Jul 14, 2023 · 6 comments
Labels
api bug dependencies Pull requests that update a dependency file v0.7.x Issues planned in versions 0.7.x

Comments

@xmgz
Copy link

xmgz commented Jul 14, 2023

trying to upload a .gpx file (and/or .zip file with several .gpx files) I got this message in the logs:

2023/07/14 05:50:56 - fittrackee - ERROR - module 'PIL.Image' has no attribute 'ANTIALIAS'

Also reported here

thank you

(reported also on Matrix room)

@SamR1
Copy link
Owner

SamR1 commented Jul 14, 2023

Thanks for the bug report.
A new version of Pillow, which is used by staticmap, has been released, and some constants have been removed.

The workaround for now is to pin pillow version to 9.5.0 to avoid this issue when installing FitTrackee with pip.

@SamR1 SamR1 added bug api v0.7.x Issues planned in versions 0.7.x dependencies Pull requests that update a dependency file labels Jul 14, 2023
@SamR1 SamR1 added this to the v0.7 - OAuth 2.0 milestone Jul 14, 2023
@OliverPifferi
Copy link

Thanks for the bug report. A new version of Pillow, which is used by staticmap, has been released, and some constants have been removed.

The workaround for now is to pin pillow version to 9.5.0 to avoid this issue when installing FitTrackee with pip.

Will this also affect the repo at https://github.com/SamR1/docker-fittrackee? Just encountered the error here, too - and a "make update migrate" doesn't update the module to the version mentioned.

@SamR1
Copy link
Owner

SamR1 commented Jul 15, 2023

yes, it also affects this repo. The fix is not released yet (it will be shortly).

@OliverPifferi
Copy link

yes, it also affects this repo. The fix is not released yet (it will be shortly).

Great - thanks for the ultra-fast reply!

@SamR1
Copy link
Owner

SamR1 commented Jul 15, 2023

released in 0.7.19

@SamR1 SamR1 closed this as completed Jul 15, 2023
@OliverPifferi
Copy link

Works, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug dependencies Pull requests that update a dependency file v0.7.x Issues planned in versions 0.7.x
Projects
None yet
Development

No branches or pull requests

3 participants