Doesn't start in Ubuntu 10.10

meles
2010-10-13
2013-05-14
  • meles
    meles
    2010-10-13

    As of Ubuntu 10.10 (maverick), Gourmet Recipe Manager doesn't start anymore. The welcome screen flashes and then dies away. In Terminal, the error message is:

    /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

    Does anyone know what the reason is?

     
  • Jeff Raber
    Jeff Raber
    2010-12-04

    This is bug was caused by changes in the sqlalchemy software.  A patch was applied and gourmet-0.15.6 does not have this bug.