Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19747 - [gourmet] crashes on startup

Attached to Project: Community Packages
Opened by Mike Bynum (aeroemike) - Tuesday, 08 June 2010, 23:55 GMT
Last edited by Ray Rashif (schivmeister) - Monday, 28 June 2010, 20:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When launching Gourmet Recipe Manager it always crashes with the following errors:

[~]$ gourmet
Loading gnomeprint failed: trying win
Loading win failed: trying lpr
/usr/lib/python2.6/site-packages/gourmet/backends/db.py:294: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
Column('image',Binary(),**{}),
/usr/lib/python2.6/site-packages/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/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py", line 709, in startGUI
r=RecGui(splash_label=splash.label)
File "/usr/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py", line 916, in __init__
GourmetApplication.__init__(self, splash_label=splash_label)
File "/usr/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py", line 113, in __init__
self.setup_recipes() # Setup recipe database
File "/usr/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py", line 203, in setup_recipes
self.rd = recipeManager.default_rec_manager()
File "/usr/lib/python2.6/site-packages/gourmet/recipeManager.py", line 131, in default_rec_manager
return get_recipe_manager(**dbargs)
File "/usr/lib/python2.6/site-packages/gourmet/recipeManager.py", line 126, in get_recipe_manager
return RecipeManager(**args)
File "/usr/lib/python2.6/site-packages/gourmet/backends/db.py", line 1733, in __init__
self.km = keymanager.get_keymanager(rm=self)
File "/usr/lib/python2.6/site-packages/gourmet/keymanager.py", line 531, in get_keymanager
return KeyManager(*args,**kwargs)
File "/usr/lib/python2.6/site-packages/gourmet/keymanager.py", line 40, in __init__
self.initialize_categories()
File "/usr/lib/python2.6/site-packages/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/lib/python2.6/site-packages/gourmet/backends/db.py", line 791, in get_unique_values
if not table: table=self.recipe_table
File "/usr/lib/python2.6/site-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


Additional info:
* package version(s) - community/gourmet 0.15.0-1

Steps to reproduce:
Install Gourmet using pacman and then try to launch it.
This task depends upon

Closed by  Ray Rashif (schivmeister)
Monday, 28 June 2010, 20:13 GMT
Reason for closing:  Fixed
Comment by Thomas Dziedzic (tomd123) - Wednesday, 09 June 2010, 03:54 GMT
0.15.4 is out btw, current one in repo is 0.15.0
Comment by Mike Bynum (aeroemike) - Wednesday, 09 June 2010, 14:13 GMT
I tried the dev version (0.15.4-1) from aur and was still getting the same errors.
Comment by Thomas Dziedzic (tomd123) - Monday, 14 June 2010, 03:04 GMT
upstream bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2993965&group_id=108118&atid=649652

there's already a patch, and it has been fixed in git :)
Comment by Mike Bynum (aeroemike) - Wednesday, 16 June 2010, 15:21 GMT
Sweet!
Comment by Ray Rashif (schivmeister) - Wednesday, 16 June 2010, 21:52 GMT
  • Field changed: Architecture (x86_64 → All)
  • Field changed: Severity (Low → Medium)
If they're not going to make a release anytime soon we'll have to patch it up for the update. Will take a look, thanks.

Loading...