Mugshot fails at attempt to change avatar

Bug #1284720 reported by GridCube
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Mugshot
Fix Released
Critical
Sean Davis
mugshot (Ubuntu)
Fix Released
Undecided
Sean Davis

Bug Description

testing the beta1 iso for xubuntu 14.04, in a virtualbox that had only 640x480 available screen resolution, while trying to change the user avatar using the preset ones i got a constant and repeatable crash.

Related branches

Revision history for this message
GridCube (gridcube) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1284720

tags: added: iso-testing
Revision history for this message
ToZ (toz) wrote :

From "mugshot -vv":

DEBUG:mugshot: load_stock_browser() 'Loading stock browser photos.'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 705, in on_image_from_stock_activate
    self.load_stock_browser()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 718, in load_stock_browser
    for filename in os.listdir('/usr/share/pixmaps/faces'):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/pixmaps/faces'

There is no /usr/share/pixmaps/faces directory in the base install. Creating this directory and adding some images remediates the problem.

Should mugshot ship with some base stock images?

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/1284720

tags: added: package-qa-testing
Revision history for this message
Sean Davis (bluesabre) wrote :

We might add some basic stock images in a later release. For now, the fix by thad-fisch is sufficient.

Changed in mugshot:
status: New → Fix Committed
milestone: none → 0.2.1
Revision history for this message
Sean Davis (bluesabre) wrote :

Fixed in Mugshot 0.2.1

Changed in mugshot:
status: Fix Committed → Fix Released
importance: Undecided → Critical
Revision history for this message
Logan Rosen (logan) wrote :

This should accordingly be fixed in mugshot 0.2.1-1 in Trusty.

Changed in mugshot (Ubuntu):
status: New → Fix Released
Pasi Lallinaho (knome)
Changed in mugshot (Ubuntu):
assignee: nobody → Sean Davis (smd-seandavis)
Sean Davis (bluesabre)
Changed in mugshot:
assignee: nobody → Sean Davis (smd-seandavis)
Pasi Lallinaho (knome)
summary: - mugshot fails at attempt to change avatar
+ Mugshot fails at attempt to change avatar
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.