[dev] missing profile pic

VERIFIED WORKSFORME

Status

VERIFIED WORKSFORME
7 years ago
6 years ago

People

(Reporter: mbrandt, Unassigned)

Tracking

Details

(Whiteboard: [regression?][rel:04/18/2012], URL)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
My guess is the data on mozillians-dev is still a bit nerfed.

Steps to reproduce:
1. o Moz's profile pic is missing - https://mozillians-dev.allizom.org/en-US/tallowen

[14:31:27.104] GET https://mozillians-dev.allizom.org/en-US/data/www/mozillians-dev.allizom.org/mozillians/media/uploads/userprofile/chromesearch.png [HTTP/1.1 404 NOT FOUND 316ms]


+++++

Traceback (most recent call last):

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/vendor/src/django/django/views/generic/base.py", line 47, in view
   return self.dispatch(request, *args, **kwargs)

 File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/views/generic/base.py", line 68, in dispatch
   return handler(request, *args, **kwargs)

 File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/views/generic/edit.py", line 138, in post
   return self.form_valid(form)

 File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django-browserid/django_browserid/views.py", line 49, in form_valid
   return self.login_success()

 File "/data/www/mozillians-dev.allizom.org/mozillians/apps/users/views.py", line 42, in login_success
   auth.login(self.request, self.user)

 File "/data/www/mozillians-dev.allizom.org/mozillians/vendor/src/django/django/contrib/auth/__init__.py", line 76, in login
   user_logged_in.send(sender=user.__class__, request=request, user=user)

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/vendor/src/django/django/contrib/auth/models.py", line 24, in update_last_login
   user.save()

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/vendor/src/django/django/db/models/base.py", line 573, in save_base
   created=(not record_exists), raw=raw, using=using)

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/apps/users/models.py", line 188, in create_user_profile
   u.save()

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/vendor/src/django/django/db/models/base.py", line 573, in save_base
   created=(not record_exists), raw=raw, using=using)

 File "/data/www/mozillians-dev.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-dev.allizom.org/mozillians/apps/users/models.py", line 226, in resize_photo
   img = Image.open(path)

 File "/usr/lib/python2.6/site-packages/PIL/Image.py", line 1952, in open
   fp = __builtin__.open(fp, "rb")

IOError: [Errno 2] No such file or directory: '/data/www/mozillians-dev.allizom.org/mozillians/media/uploads/userprofile/chromesearch.png'
(Reporter)

Comment 1

7 years ago
Created attachment 611596 [details]
qa - missing profile pic
(Reporter)

Updated

7 years ago
Whiteboard: [regression?] → [regression?]rel:04/18/2012]
(Reporter)

Updated

7 years ago
Whiteboard: [regression?]rel:04/18/2012] → [regression?][rel:04/18/2012]
(Reporter)

Updated

7 years ago
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: unspecified → other

Comment 2

6 years ago
Triage. Just checked, image looks to be there.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

6 years ago
Agreed, site has been de-nerfed. Bumping to QA verified WFM
Status: RESOLVED → VERIFIED
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.