Package None does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
I'm trying to write an apport symptom and came across the following error; when returning the name of a source package instead of a binary package, apport fails with the error "Package None does not exist". I would like it to at least report the right package instead (or I wouldn't have spent hours trying to figure out how I could have returned None, when in fact I hadn't).
The following symptom script would reproduce the error:
def run(report, ui):
return 'libffado'
Expected either
1) source package to be accepted or
2) the error "Package libffado does not exist" instead of "Package None does not exist"
What happened instead:
*** Error: Invalid problem report
Package None does not exist
ProblemType: Bug
ApportLog:
Architecture: amd64
CheckboxSubmission: f6f6c1db2c80d23
CheckboxSystem: 4ed15c40009aa6f
Date: Wed Jan 6 16:03:02 2010
DistroRelease: Ubuntu 9.10
Package: apport 1.9.3-0ubuntu4.2
PackageArchitec
ProcEnviron:
LANG=sv_SE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.31-16-generic x86_64
I fixed it to say
Symptom script %s did not determine an affected package') % symptom_script
in that case.
(trunk r1706)