[Bug 992055] Re: apport appears to crash. Spinner never stops. KeyError: 'ProblemType'

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:02:38 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: apport (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/992055

Title:
  apport appears to crash. Spinner never stops. KeyError: 'ProblemType'

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Apport doesn't seem to close properly. It seems to send the problem report to Launchpad, but doesn't tell the user that the problem has been reported. It just spins its spinner.
  The following is printed on the command line.

  chris at dellie-linux:~$ apport-collect 991395
  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 499, 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 867, 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'
  --- 
  ApportLog:
   
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  Package: apport 2.0.1-0ubuntu7
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 2.6.38-13.56-generic 2.6.38.8
  Tags:  precise
  Uname: Linux 2.6.38-13-generic x86_64
  UpgradeStatus: Upgraded to precise on 2012-04-28 (1 days ago)
  UserGroups: adm admin cdrom dialout libvirtd lp lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/992055/+subscriptions



More information about the foundations-bugs mailing list