Comment 0 for bug 1353530

Revision history for this message
Owen Dunn (osd1000) wrote : mugshot produces python errors

Ubuntu 14.04.1
mugshot version: 0.2.3-1

When I try to start mugshot via the "About Me" icon in the xfce4 settings panel, nothing seems to happen.

If I try to start it from a terminal it says:

devil:~$ mugshot
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 252, in init_user_details
    first_name, last_name = name.split(' ', 1)
UnboundLocalError: local variable 'name' referenced before assignment

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/mugshot", line 35, in <module>
    mugshot.main()
  File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 45, in main
    window = MugshotWindow.MugshotWindow()
  File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 50, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 217, in finish_initializing
    self.init_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 254, in init_user_details
    first_name = name
UnboundLocalError: local variable 'name' referenced before assignment