apport-gtk crashed with --- in _request()

Bug #516381 reported by Stephen Warren
230
This bug affects 25 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt
Lucid
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: apport

I ran the following command:

apport-collect -p alsa-base 369036

Under the Lucid 1/31 daily live CD.

and the console said:

ubuntu@ubuntu:~$ apport-collect -p alsa-base 369036
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=jRpSSmXB5qJ5Ndxkc2zl&allow_permission=WRITE_PRIVATE)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 354, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 534, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 468, in run_update_report
    attachment_comment='apport information')
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 334, in update
    bug.lp_save()
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 630, in lp_save
    URI(self.self_link), representation, headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 277, in patch
    'PATCH', extra_headers=extra_headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 217, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 412: Precondition Failed
Response headers:
---
content-length: 0
content-type: text/plain
date: Wed, 03 Feb 2010 02:53:39 GMT
server: zope.server.http (HTTP)
status: 412
vary: Cookie,Authorization,Accept
via: 1.1 wildcard.edge.launchpad.net
x-content-type-warning: guessed from content
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---

---

ProblemType: Crash
Architecture: i386
CrashReports: 600:999:999:31809:2010-02-03 02:54:10.093406000 +0000:2010-02-03 02:54:11.093406000 +0000:/var/crash/_usr_share_apport_apport-gtk.999.crash
Date: Wed Feb 3 02:54:11 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/apport/apport-gtk
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100131)
Package: apport-gtk 1.12-0ubuntu3
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gtk -p alsa-base 369036
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
PythonArgs: ['/usr/share/apport/apport-gtk', '-p', 'alsa-base', '369036']
SourcePackage: apport
Title: apport-gtk crashed with --- in _request()
Uname: Linux 2.6.32-12-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Stephen Warren (srwarren) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Ruben Verweij (ruben-verweij) wrote :

I can confirm this bug. This is the output I got:
apport-collect -p linux 518034
/usr/share/themes/Human/gtk-2.0/gtkrc:85: Murrine configuration option "gradients" is no longer supported and will be ignored.
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 354, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 534, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 468, in run_update_report
    attachment_comment='apport information')
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 334, in update
    bug.lp_save()
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 632, in lp_save
    URI(self.self_link), representation, headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 277, in patch
    'PATCH', extra_headers=extra_headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 217, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 412: Precondition Failed
Response headers:
---
content-length: 0
content-type: text/plain
date: Thu, 11 Feb 2010 11:24:13 GMT
server: zope.server.http (HTTP)
status: 412
vary: Cookie,Authorization,Accept
via: 1.1 wildcard.edge.launchpad.net
x-content-type-warning: guessed from content
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---

---

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Guillaume Pascal (guigui14100-deactivatedaccount) wrote :

Same problem after install, I brought that shows me the report and when I did send her to me indicates a problem

Revision history for this message
dino99 (9d9) wrote :

crash report found into /var/crash, own by root and not reported by apport (silent crash), on Lucid A3 updated.

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :
Revision history for this message
Hamish Downer (mishd) wrote :

A crash report to look at - done by running

$ apport-collect 426415

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Affects me. Might only occur during the initial authorisation exchange with Launchpad. I didn't see the fault when I re-ran apport-collect once authorisation has happened.

Revision history for this message
Steve Langasek (vorlon) wrote :

Martin, this bug consistently prevents bug reporters from running 'apport-collect' when we need them to. I think we need to get this fixed for lucid.

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

This is ultimately bug 336866, but I'll try to work around it.

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

trunk r1731

Changed in apport (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.13.1-0ubuntu1

---------------
apport (1.13.1-0ubuntu1) lucid; urgency=low

  [ Martin Pitt ]
  * New upstream bug fix release:
    - Update parse-segv to handle gdb 7.1 output.
    - Enhance test suite to work with gdb 7.1 as well, and catch future
      outputs.
    - UI: Add exception string to the "network error" dialog, to better tell
      what the problem is.
    - UI: Add back -p option to apport-collect/apport-update-bug (regression
      from 1.13). (LP: #538944)
    - launchpad.py: Add yet another workaround for LP#336866. (LP: #516381)
    - launchpad.py, download(): Ignore attachments with invalid key names.
    - Fix regression from 1.10 which made it impossible for a package hook to
      set a third-party crash database for non-native packages. (LP: #517272)
    - apport-cli: Create the 'details' string only if user wants to view
      details, and do not show files larger than 1MB. Thanks Scott Moser!
      (LP: #486122)
    - packaging-apt-dpkg.py: Silence apt.Cache() spewage to stdout with newer
      python-apt versions. (LP: #531518)
    - unkillable_shutdown: Add list of running processes and blacklisted pids
      to report. (LP: #537262)
    - Sort the report by key in the details view. (LP: #519416)

  [ Evan Dandrea ]
  * Move ubiquity's package-hook into apport, so that it can be used
    from the installed system to grab the logs in /var/log/installer.
 -- Martin Pitt <email address hidden> Sat, 20 Mar 2010 22:28:44 +0100

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.