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

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #2137

Closed
sentry-io bot opened this issue Jul 4, 2024 · 0 comments · Fixed by #2249
Closed

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #2137

sentry-io bot opened this issue Jul 4, 2024 · 0 comments · Fixed by #2249
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 4, 2024

Sentry Issue: INDIGO-LAWSAFRICA-1KJ

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
(8 additional frame(s) were not displayed)
...
  File "indigo_app/views/base.py", line 55, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "indigo_social/views.py", line 76, in form_valid
    resp = super().form_valid(form)
  File "indigo_social/forms.py", line 60, in save
    self.instance.profile_photo = process_profile_photo(self.cleaned_data['new_profile_photo'])
  File "indigo_social/forms.py", line 101, in process_profile_photo
    uploaded_photo = uploaded_photo.resize((200, 200), Image.ANTIALIAS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants