Package: gourmet
Version: 0.15.4-3
Severity: important

I have a mixed system and don't really expect everything to work.
Earlier this year, though, gourmet was running fine.  Today I tried to 
start it and got this error:

bert...@blacky:~$ gourmet
/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(),**{}),
Database older than 0.14.7 -- updating 0.14.5
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 1740, in __init__
    RecData.__init__(self,*args,**kwargs)
  File "/usr/share/gourmet/gourmet/backends/db.py", line 160, in __init__
    self.update_version_info(gourmet.version.version)
  File "/usr/share/gourmet/gourmet/backends/db.py", line 475, in 
update_version_info
    self.add_column_to_table(self.recipe_table,('yields',Float(),{}))
  File "/usr/share/gourmet/gourmet/backends/db.py", line 875, in 
add_column_to_table
    coltyp = coltyp.dialect_impl(self.db.dialect).get_col_spec()
AttributeError: 'Float' object has no attribute 'get_col_spec'


Thinking that perhaps my recipe database was not compatable, I removed the 
~/.gourmet directory.

I purged and reinstalled gourmet and tried again, but got a similar error:

bert...@blacky:~$ gourmet 
/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/pymodules/python2.5/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

My tiny expertise has been exhausted.  I have no clue as to what package
actually may be the responsible one, nor how to troubleshoot further.

Thanks.

Bert Riding


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gourmet depends on:
ii  python                       2.5.4-9     An interactive high-level object-o
ii  python-central               0.6.16      register and build utility for Pyt
ii  python-glade2                2.17.0-2    GTK+ bindings: Glade support
ii  python-gtk2                  2.17.0-2    Python bindings for the GTK+ widge
ii  python-imaging               1.1.7-1+b1  Python Imaging Library
ii  python-poppler               0.12.1-1+b1 Poppler Python bindings
ii  python-reportlab             2.4-1       ReportLab library to create PDF do
ii  python-sqlalchemy            0.6.1-1     SQL toolkit and Object Relational 

Versions of packages gourmet recommends:
ii  python-gnome2                 2.28.1-1   Python bindings for the GNOME desk

gourmet suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to