bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Unable to set profile photo.

VERIFIED WORKSFORME

Status

Participation Infrastructure
Phonebook
VERIFIED WORKSFORME
5 years ago
5 years ago

People

(Reporter: Vito Smolej, Assigned: giorgos)

Tracking

other
2013-04-04
Dependency tree / graph

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 728070 [details]
passport picture

selecting the photo toi replace the current and them pressing Update profile gets me to the "We're Sorry, but Something Went Wrong!" page.

Loading the previous mugshot (see att.) ends the same way.
I can confirm this behavior only for Vito's profile. I can change and reset my profile photo without problems.
I'm unable to reproduce the error Vito is seeing on my test accounts as well.
(Reporter)

Comment 3

5 years ago
so ... how can i recreate the profile, without losing the handle and the authorization? the rest can get lost (its not much), but I would hesitate in case there a danger of creating zombie identities.

TiA

smo
Vito, I'll make sure that we fix your problem asap, I'm already working on this. Please wait a few days before going ahead with the profile re-creation.
Assignee: nobody → giorgos
Status: NEW → ASSIGNED
Summary: changing profile photo bombs → Unable to set profile photo.
    Traceback (most recent call last):
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
        response = callback(request, *callback_args, **callback_kwargs)
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/views/decorators/cache.py", line 89, in _wrapped_view_func
        response = view_func(request, *args, **kwargs)
     
      File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/views.py", line 116, in edit_profile
        user_form.save()
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/forms/models.py", line 364, in save
        fail_message, commit, construct=False)
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/forms/models.py", line 86, in save_instance
        instance.save()
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/db/models/base.py", line 463, in save
        self.save_base(using=using, force_insert=force_insert, force_update=force_update)
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/db/models/base.py", line 565, in save_base
        created=(not record_exists), raw=raw, using=using)
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/dispatch/dispatcher.py", line 172, in send
        response = receiver(signal=self, sender=sender, **named)
     
      File "/data/www/mozillians.allizom.org/mozillians/apps/users/models.py", line 516, in create_user_profile
        created=created, raw=raw)
     
      File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/dispatch/dispatcher.py", line 172, in send
        response = receiver(signal=self, sender=sender, **named)
     
      File "/data/www/mozillians.allizom.org/mozillians/apps/users/models.py", line 524, in resize_photo
        img = Image.open(path)
     
      File "/usr/lib64/python2.6/site-packages/PIL/Image.py", line 1980, in open
        raise IOError("cannot identify image file")
     
    IOError: cannot identify image file
Target Milestone: --- → 2013-04-04

Updated

5 years ago
OS: Windows 7 → All
Hardware: x86_64 → All
Vito, everything should run fine now. I restored your previous photo, feel free to update it with a new one.

Thanks!
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Bumping to verified - Vito if this rears it's ugly head again please reopen..

Thanks for fighting through this with us.
Status: RESOLVED → VERIFIED
(Reporter)

Comment 8

5 years ago
I am back to square one - and it does not look THAT bad;)

Sorry for nitpicking....
Resolution: FIXED → WORKSFORME
Well thats good .. I have a mighty soft-touch with Photoshop if you need help with a new avatar  ;-)
You need to log in before you can comment on or make changes to this bug.