The problem occurred after updating python-apport and (for me) apport-
retrace, after which point attempting to run apport (or any other such
tools) caused the following stacktrace.  It looks like the upgrade moved
the python modules' location from python-support to site-packages, but
left packaging_impl.py behind in python-support.  I'm not sure if that
is the actual problem though - it just looks like it.

[EMAIL PROTECTED]:~$ apport
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 30, in 
apport_excepthook
    import apport.report, apport.fileutils
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in 
<module>
    from apport.report import Report
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 21, in <module>
    import fileutils
  File "/usr/lib/python2.5/site-packages/apport/fileutils.py", line 16, in 
<module>
    from packaging_impl import impl as packaging
ImportError: No module named packaging_impl

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/apport", line 19, in <module>
    import apport, apport.fileutils
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in 
<module>
    from apport.report import Report
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 21, in <module>
    import fileutils
  File "/usr/lib/python2.5/site-packages/apport/fileutils.py", line 16, in 
<module>
    from packaging_impl import impl as packaging
ImportError: No module named packaging_impl

-- 
apport is not working
https://bugs.launchpad.net/bugs/116543
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to