Python Error Causes Mugshot not to Start

Bug #1323086 reported by Steve Benchik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mugshot
Invalid
Undecided
Unassigned

Bug Description

When I try to start mugshot on Xubuntu 14.04 I get this error.

steve@steve-OptiPlex-GX270:~$ mugshot
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 24, in <module>
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 36, in <module>
    from ._gi import _gobject
ImportError: No module named 'gi._gi'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 24, in <module>
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 36, in <module>
    from ._gi import _gobject
ImportError: No module named 'gi._gi'

Revision history for this message
Sean Davis (bluesabre) wrote :

Looks like a broken python3-gi install... try this:

sudo apt-get --reinstall install python3-gi

Sean Davis (bluesabre)
Changed in mugshot:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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