Mugshot fails at attempt to change avatar

Bug #1284720 reported by GridCube on 2014-02-25
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Mugshot
Fix Released
Critical
Sean Davis
mugshot (Ubuntu)
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

GridCube (gridcube) wrote :
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
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?

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
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
Sean Davis (bluesabre) wrote :

Fixed in Mugshot 0.2.1

Changed in mugshot:
status: Fix Committed → Fix Released
importance: Undecided → Critical
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) on 2014-03-11
Changed in mugshot (Ubuntu):
assignee: nobody → Sean Davis (smd-seandavis)
Sean Davis (bluesabre) on 2014-03-11
Changed in mugshot:
assignee: nobody → Sean Davis (smd-seandavis)
Pasi Lallinaho (knome) on 2014-04-16
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints