Apport-Collect crash. ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last):

Bug #985522 reported by Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Ubuntu Desktop 12.04 AMD64 Beta2
When trying report bug and do apport -collect, apport hangs at the "Send problem report to developers", with a "No drive through" sign.

In terminal:

apport-collect 985502
No packages found matching linux.
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 45, in add_info
    match_error_messages(report)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 129, in match_error_messages
    if report['ProblemType'] == 'Package':
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'ProblemType'
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 494, in <lambda>
    GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 861, in collect_info
    icthread.exc_raise()
  File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info
    if report['ProblemType'] == 'Crash' and \
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'ProblemType'
---
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CrashReports:
 664:1000:114:0:2012-04-18 10:06:48.567807646 +0200:2012-04-18 10:06:48.567807646 +0200:/var/crash/_usr_lib_unity-lens-video_unity-lens-video.1000.upload
 640:1000:114:1920602:2012-04-18 13:33:53.567354000 +0200:2012-04-18 13:34:01.807353981 +0200:/var/crash/_usr_lib_totem_totem-plugin-viewer.1000.crash
 640:1000:114:31962:2012-04-18 10:06:42.239807000 +0200:2012-04-18 20:10:07.572259999 +0200:/var/crash/_usr_lib_unity-lens-video_unity-lens-video.1000.crash
 640:1000:114:5275577:2012-04-18 09:48:49.084007000 +0200:2012-04-18 09:48:50.084007000 +0200:/var/crash/_usr_bin_compiz.1000.crash
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120417)
Package: apport 2.0.1-0ubuntu5
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Tags: precise
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Hansen (moteprime) wrote : ApportLog.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Hansen (moteprime) wrote : Dependencies.txt

apport information

Revision history for this message
Hansen (moteprime) wrote : ProcEnviron.txt

apport information

Revision history for this message
Hansen (moteprime) wrote :

It seems that i can do apport collect on this bug??

Hansen (moteprime)
Changed in apport (Ubuntu):
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.