Apport-collect fails

Bug #945269 reported by Laurent Dinclaux on 2012-03-03
This bug report is a duplicate of:  Bug #947519: apport-collect crashes when run. Edit Remove
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)

Bug Description

Regarding that bug:, I ran

apport-collect 945246

That ended up with those errors:

No packages found matching linux.
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 468, in <lambda>
    GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
  File "/usr/lib/python2.7/dist-packages/apport/", line 830, in collect_info
    if (['ProblemType'] == 'Crash' and 'Stacktrace' in or \
  File "/usr/lib/python2.7/", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'ProblemType'

It then shows an empty crash report window (attached). I then click send and get:

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 246, in dialog_crash_dismissed
    def dialog_crash_dismissed(widget):

Hitting ctrl+c I get:

^CTraceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 481, in <module>
  File "/usr/lib/python2.7/dist-packages/apport/", line 547, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/", line 471, in run_update_report
    attachment_comment='apport information')
  File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/", line 406, in update
    filename=part.get_filename(), is_patch=False)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/", line 573, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/", line 242, in _request
    str(url), method=method, body=data, headers=headers)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/", line 211, in _request_and_retry
    url, method=method, body=body, headers=headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/", line 1444, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/", line 126, in _request
    LaunchpadOAuthAwareHttp, self)._request(*args)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/", line 130, in _request
    redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/", line 1196, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/", line 1166, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/", line 1030, in getresponse
  File "/usr/lib/python2.7/", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/", line 365, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.7/", line 430, in readline
    data = recv(1)
  File "/usr/lib/python2.7/", line 241, in recv
  File "/usr/lib/python2.7/", line 160, in read

BUT, the needed files seem to have been sent to the bug report.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 1.94-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64

ApportVersion: 1.94-0ubuntu1
Architecture: amd64
CrashReports: 600:1000:122:961034:2012-03-02 16:35:47.043482000 +1100:2012-03-02 16:35:48.043482000 +1100:/var/crash/_usr_lib_bamf_bamfdaemon.1000.crash
Date: Sat Mar 3 11:13:26 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Laurent Dinclaux (dreadlox) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers