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
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Unassigned

Bug Description

Regarding that bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/945246, 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/ui.py", line 830, in collect_info
    if (self.report['ProblemType'] == 'Crash' and 'Stacktrace' in self.report) or \
  File "/usr/lib/python2.7/UserDict.py", 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):
KeyboardInterrupt

Hitting ctrl+c I get:

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

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
ApportLog:

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
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
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