crashes on startup, Ubuntu 12.04, TypeError on pantry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gourmet |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
New install of Ubuntu 12.04, database loaded from another machine with an older version.
Gourmet 0.15.9-1
~$ gourmet
sqlite:
TRYING TO GET ingkey pantry from pantry
ERROR!!!
Traceback (most recent call last):
File "/usr/share/
val = getattr(i,self.vp)
TypeError: an integer is required
IGNORING
TRYING TO GET ingkey pantry from pantry
ERROR!!!
Traceback (most recent call last):
File "/usr/share/
val = getattr(i,self.vp)
TypeError: an integer is required
IGNORING
TRYING TO GET ingkey pantry from pantry
.......
ERROR!!!
Traceback (most recent call last):
File "/usr/share/
val = getattr(i,self.vp)
TypeError: an integer is required
IGNORING
Traceback (most recent call last):
File "/usr/bin/gourmet", line 35, in <module>
gourmet.
File "/usr/share/
r=RecGui(
File "/usr/share/
GourmetAppl
File "/usr/share/
self.
File "/usr/share/
self.sl = shopgui.ShopGui()
File "/usr/share/
ShoppingLis
File "/usr/share/
self.
File "/usr/share/
return self.organize_
File "/usr/share/
self.sh = self.get_
File "/usr/share/
return recipeManager.
File "/usr/share/
shopping.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/lib/
return e._execute_
File "/usr/lib/
return connection.
File "/usr/lib/
compiled_sql, distilled_params
File "/usr/lib/
context)
File "/usr/lib/
context)
File "/usr/lib/
cursor.
sqlalchemy.
Fixed. I installed sqlitebrowser and hand edited the database. In the pantry table the ing column had the text values ("butter") instead of an integer index, so I just deleted every record in the pantry. That allows the s/w to start up.