** Description changed:
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@sv-eee:~$ /usr/share/gourmet/gourmet/backends/db.py:294:
SADeprecationWarning: The Binary type has been renamed to LargeBinary.
+ Column('image',Binary(),**{}),
+ /usr/share/gourmet/gourmet/backends/db.py:295: SADeprecationWarning: The
Binary type has been renamed to LargeBinary.
+ Column('thumb',Binary(),**{}),
+ Traceback (most recent call last):
+ File "/usr/bin/gourmet", line 35, in <module>
+ gourmet.GourmetRecipeManager.startGUI()
+ File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 715, in
startGUI
+ r=RecGui(splash_label=splash.label)
+ File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 917, in
__init__
+ GourmetApplication.__init__(self, splash_label=splash_label)
+ File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 114, in
__init__
+ self.setup_recipes() # Setup recipe database
+ File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 204, in
setup_recipes
+ self.rd = recipeManager.default_rec_manager()
+ File "/usr/share/gourmet/gourmet/recipeManager.py", line 131, in
default_rec_manager
+ return get_recipe_manager(**dbargs)
+ File "/usr/share/gourmet/gourmet/recipeManager.py", line 126, in
get_recipe_manager
+ return RecipeManager(**args)
+ File "/usr/share/gourmet/gourmet/backends/db.py", line 1742, in __init__
+ self.km = keymanager.get_keymanager(rm=self)
+ File "/usr/share/gourmet/gourmet/keymanager.py", line 531, in get_keymanager
+ return KeyManager(*args,**kwargs)
+ File "/usr/share/gourmet/gourmet/keymanager.py", line 40, in __init__
+ self.initialize_categories()
+ File "/usr/share/gourmet/gourmet/keymanager.py", line 81, in
initialize_categories
+ for k in
self.rm.get_unique_values('ingkey',self.rm.ingredients_table,deleted=False):
+ File "/usr/share/gourmet/gourmet/backends/db.py", line 797, in
get_unique_values
+ if not table: table=self.recipe_table
+ File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line
1296, in __nonzero__
+ 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
+ ProcVersionSignature: Ubuntu 2.6.35-14.20-generic 2.6.35
+ 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
+ PackageArchitecture: all
+ ProcCmdline: /usr/bin/python /usr/bin/gourmet
+ ProcEnviron:
+ SHELL=/bin/bash
+ LANG=en_GB.utf8
+ PythonArgs: ['/usr/bin/gourmet']
+ SourcePackage: gourmet
+ Title: gourmet crashed with TypeError in __nonzero__()
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/618643
Title:
gourmet crashed with TypeError in __nonzero__()
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs