apport-collect crashed with AssertionError in __init__()

Bug #451838 reported by Leandro
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt
Karmic
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: apport

These were the errors in the screen:

Logging into Launchpad... You have to allow "Change anything" privileges.
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 101, in <module>
    crashdb = CrashDatabase(None, None, {})
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 75, in __init__
    assert 'project' in options, 'Need to have either "project" or "distro" option'
AssertionError: Need to have either "project" or "distro" option
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission denied: '/var/crash/_usr_bin_apport-collect.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 101, in <module>
    crashdb = CrashDatabase(None, None, {})
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 75, in __init__
    assert 'project' in options, 'Need to have either "project" or "distro" option'
AssertionError: Need to have either "project" or "distro" option

ProblemType: Crash
Architecture: i386
CrashReports:
 600:1000:1000:5612937:2009-10-06 21:30:58.518826000 -0300:2009-10-06 21:35:24.015485768 -0300:/var/crash/_usr_bin_totem.1000.crash
 600:114:121:929535:2009-10-07 20:48:47.664007000 -0300:2009-10-07 20:48:48.664007000 -0300:/var/crash/_usr_bin_metacity.114.crash
 600:1000:1000:219830:2009-10-11 22:16:46.880511000 -0300:2009-10-11 22:16:47.880511000 -0300:/var/crash/_usr_lib_indicator-session_indicator-status-service.1000.crash
 600:0:0:7420:2009-10-14 23:17:51.027067000 -0300:2009-10-14 23:19:44.315057953 -0300:/var/crash/_usr_bin_apport-collect.0.crash
Date: Wed Oct 14 23:17:52 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/apport-collect
InterpreterPath: /usr/bin/python2.6
Package: apport 1.9.3-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-collect 451833
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
PythonArgs: ['/usr/bin/apport-collect', '451833']
SourcePackage: apport
Title: apport-collect crashed with AssertionError in __init__()
Uname: Linux 2.6.31-14-generic i686
UserGroups:

Revision history for this message
Leandro (leandromartinez98) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Leandro (leandromartinez98) wrote :

This continues to occur after a full upgrade now.

I must say that yesterday X crashed during an update, and I had to run dkpg --configure -a manually
to restore the update. I don't know if some package may have been corrupted by this. I tried
reinstalling all apport packages, but the error persists. Which other package can cause this
problem?

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

Which package did you try to file a bug against? Does this also happen if you try "ubuntu-bug apport"? (Please don't actually file that bug, just see whether it brings you to Launchpad without crashing).

Thanks!

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

Ah, sorry, "apport-collect".

Changed in apport (Ubuntu):
status: Incomplete → In Progress
tags: added: regression-potential
Changed in apport (Ubuntu Karmic):
status: In Progress → Fix Committed
milestone: none → ubuntu-9.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.9.3-0ubuntu2

---------------
apport (1.9.3-0ubuntu2) karmic; urgency=low

  * debian/local/apport-collect: Instantiate Launchpad crash database with
    "distro = ubuntu", to satisfy an assertion introduced in the previous
    release. (LP: #451838)

 -- Martin Pitt <email address hidden> Thu, 15 Oct 2009 21:12:21 +0200

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

Other bug subscribers

Remote bug watches

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