apport-retrace crashed with LPUrlError in _safe_urlopen()

Bug #146423 reported by Kevin Williams
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Martin Pitt

Bug Description

Binary package hint: apport

ran "apport-retrace 146422" from gnome-terminal.

ProblemType: Crash
Architecture: i386
Date: Fri Sep 28 13:54:57 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/apport-retrace
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: apport-retrace 0.97
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-retrace 146422
ProcCwd: /home/PSU/kwilliam
PythonArgs: ['/usr/bin/apport-retrace', '146422']
SourcePackage: apport
Title: apport-retrace crashed with LPUrlError in _safe_urlopen()
Uname: Linux kwilliams-pc 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Revision history for this message
Kevin Williams (bthylafh) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

You either have to specify a cookie file for apport-retrace to be able to log into Launchpad (--auth), or do a local operation (-o, -s, or -g). Please see apport-retrace --help.

Changed in apport:
status: New → Invalid
Revision history for this message
Daniel Hahler (blueyed) wrote :


I think this exception should get caught and a human friendly error displayed instead, just like in the comment from Martin above.

Changed in apport:
importance: Undecided → Low
status: Invalid → Confirmed
Martin Pitt (pitti)
Changed in apport:
assignee: nobody → pitti
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr head.

Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.103

apport (0.103) hardy; urgency=low

  * bin/apport-unpack: Print error messages instead of crashing for problems
    like nonexisting file names passed as arguments. (LP: #185273)
  * backends/, is_distro_package(): Explicitly check site
    for "ppa", so that we do not automatically file bugs for PPA packages.
    This works around Soyuz bug LP #140412 for the time being.
  * apport/ Add standard_title() test cases for Python crashes with
    a custom message, and a custom message with newlines. The latter
    reproduces LP #190947.
  * apport/, standard_title(): Do not rely on a fixed position of the
    topmost function; use iteration and regular expression matching instead.
    (LP: #190947)
  * apport/, parse_argv(): Specify that --pid/-P argument must be an
    integer, to avoid exceptions when it's not. (LP: #193494)
  * apport/ Use uname -srm, not -a, to hide the hostname. (part of
    LP #192786); also use os.uname() instead of calling the system program.
  * Make write() work for reports with CompressedValues.
    Add test case.
  * apport/ Add test case test_run_crash_anonymity() which asserts that
    the crash dump does not contain strings which can identify the user, such
    as the user name, login name, host name, and current directory.
  * apport/ Add method anonymize() which replaces user specific
    strings with generic ones.
  * apport/, thread_collect_info(): Call anonymize() on the report.
    (LP: #192786)
  * bin/apport-retrace: Only update a bug report with new attachments if it is
    not a duplicate. (LP: #172792)
  * bin/apport-retrace: Print out proper error message instead of an exception
    if trying to do write operations to the bug tracker without specifying
    a cookie file. (LP: #146423)

 -- Martin Pitt <email address hidden> Mon, 25 Feb 2008 17:47:13 +0100

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers