apport-cli crashed with AttributeError in is_distro_package(): 'NoneType' object has no attribute 'origins'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I was trying to produce apport information for a bug report with:
apport-cli -f -p linux --save bug.apport
and apport-cli crashed with the following messages in the terminal:
apport-cli -f -p linux --save bug.apport
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Traceback (most recent call last):
File "/usr/bin/
if not app.run_argv():
File "/usr/lib/
return self.run_
File "/usr/lib/
self.
File "/usr/lib/
icthread.
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
report.
File "/usr/lib/
self.
File "/usr/lib/
if not packaging.
File "/usr/lib/
origins = pkg.candidate.
AttributeError: 'NoneType' object has no attribute 'origins'
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: apport 2.0-0ubuntu2
Uname: Linux 3.2.13-
NonfreeKernelMo
ApportLog:
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Mon Apr 2 14:25:00 2012
ExecutablePath: /usr/bin/apport-cli
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/apport-cli -f -p linux --save bug.apport
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport-cli crashed with AttributeError in is_distro_
UpgradeStatus: Upgraded to precise on 2012-03-02 (31 days ago)
UserGroups: adm admin audio cdrom dialout dip lp lpadmin plugdev sambashare saned scanner vboxusers video
tags: | removed: need-duplicate-check |
Changed in apport (Ubuntu): | |
importance: | Undecided → Medium |
Actually I cannot report any bug any more, "ubuntu-bug" package will also produce this same error.