LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2010, 11:03 AM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
Gourmet Recipe Manager not starting in Ubuntu 10.10


I had Ubuntu 10.04 installed and used Gourmet Recipe Manager and all worked fine. I then upgraded to Ubuntu 10.10 and after that GRM would not start. I tried to start if from the command line and got the following:
Code:
/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
None of that really means much to me. Can anyone determine what the problem might be by those results?

Thanks
 
Old 10-29-2010, 11:19 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I would guess that when you upgraded not all the dependencies for gourmet got upgraded as well. Have you tried to install the gourmet package with aptitude? That would inform you of any dependency issues you may have.
ciao,
jdk
 
Old 10-29-2010, 11:20 AM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
I looked on google really quick and came across this bug http://bugs.gentoo.org/show_bug.cgi?id=317555

Can you try apt-get install gtkspell-python* and see what happens?

edit: also try installing any known python dependencies for sqlalchemy too

Last edited by corp769; 10-29-2010 at 11:22 AM.
 
Old 10-29-2010, 11:30 AM   #4
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I tried using Synaptic Package Manager and I also used
Code:
sudo apt-get --purge remove gourmet
and reinstalled with
Code:
sudo apt-get install gourmet
I never got any errors doing either however it still won't start.
 
Old 10-29-2010, 11:32 AM   #5
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
corp,

Not sure how literal I was supposed to take your response. I tried:

Code:
apt-get install gtkspell-python*
and got:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gtkspell-python*
E: Couldn't find any package by regex 'gtkspell-python*'
Thanks
 
Old 10-29-2010, 11:49 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
Ok. I never worked with ubuntu, so I gave that a shot.

Quote:
File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__
Problem seems to be possibly coming from sqlalchemy; Try using apt-get and searching what they have in the repos for dependencies and such...
 
Old 10-29-2010, 12:02 PM   #7
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I went ahead and installed the latest version from sourceforce and that seemed to have done the trick. As you mentioned, there is a bug in GRM. The sourceforge version seems to have that fixed.

Thanks for the help.
 
Old 10-29-2010, 05:01 PM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
No prob dude. Mark your thread as solved if you can. Rep too
 
Old 10-29-2010, 06:46 PM   #9
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
Marked as solved.

Thanks agian.

Last edited by leupi; 10-29-2010 at 06:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Gourmet Java technology for Android applications LXer Syndicated Linux News 0 07-20-2010 04:40 AM
How to get Miro and Gourmet installed on the same system eschulz Linux - Software 1 07-08-2010 12:11 PM
Gourmet Recipe Maker leupi Linux - Software 1 11-27-2009 05:06 PM
X display manager not starting fatrandy13 Linux - Software 4 12-16-2004 12:26 PM
not starting X display manager jamaas Linux - Laptop and Netbook 1 03-30-2004 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration