gourmet crashed with TypeError in __nonzero__()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gentoo Linux |
Fix Released
|
Critical
|
|||
gourmet (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
High
|
Steve Langasek |
Bug Description
Binary package hint: gourmet
SRU justification: the sqlalchemy API changed between lucid and maverick, and due to a lack of pre-release testing of the gourmet package, gourmet is completely unusable in Ubuntu 10.10. This SRU makes the package usable again.
Regression potential: none; the package currently is unusable.
TEST CASE:
1. try to launch gourmet
2. get a backtrace
3. upgrade to the maverick-proposed version
4. try to launch gourmet again
5. get a window instead of a backtrace
Stack trace:
bouncysteve@
Column(
/usr/share/
Column(
Traceback (most recent call last):
File "/usr/bin/gourmet", line 35, in <module>
gourmet.
File "/usr/share/
r=RecGui(
File "/usr/share/
GourmetAppl
File "/usr/share/
self.
File "/usr/share/
self.rd = recipeManager.
File "/usr/share/
return get_recipe_
File "/usr/share/
return RecipeManager(
File "/usr/share/
self.km = keymanager.
File "/usr/share/
return KeyManager(
File "/usr/share/
self.
File "/usr/share/
for k in self.rm.
File "/usr/share/
if not table: table=self.
File "/usr/lib/
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: gourmet 0.15.4-2ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-14-generic i686
Architecture: i386
Date: Mon Aug 16 13:16:24 2010
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gourmet
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/gourmet
ProcEnviron:
SHELL=/bin/bash
LANG=en_GB.utf8
PythonArgs: ['/usr/
SourcePackage: gourmet
Title: gourmet crashed with TypeError in __nonzero__()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
description: | updated |
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in gentoo: | |
status: | Unknown → Fix Released |
tags: | added: patch |
Changed in gourmet (Ubuntu Maverick): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in gourmet (Ubuntu Maverick): | |
status: | Triaged → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in gentoo: | |
importance: | Unknown → Critical |
tags: | added: testcase |
I can confirm this bug. On the Gentoo bugzilla is a simple patch for this: http:// bugs.gentoo. org/show_ bug.cgi? id=317555 gourmet/ gourmet/ backends/ db.py from "not table" to "table is None" fix the Problem.
Change the in line 797 of /usr/share/