Package: gourmet
Version: 0.15.6-1
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After some recent upgrade Gourmet broke for me, as it's usually the case after
new versions of this software are released. See the exception below. When I
changed the code in recipeManager to use keys() instead of items() the program
opened, and I was able to browse the database, though I still get some
non-fatal exceptions.
DEBUG: /usr/share/gourmet/gourmet/backends/db.py: 1755
recipeManager.__init__()
DEBUG: /usr/share/gourmet/gourmet/backends/db.py: 175 Initializing DB
connection
DEBUG: /usr/share/gourmet/gourmet/backends/db.py: 206 Done initializing DB
connection
DEBUG: initialize_connection + setup_tables TOOK 0.027636051178 SECONDS
DEBUG: /usr/share/gourmet/gourmet/backends/db.py: 1755
recipeManager.__init__()
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 918, in
__init__
GourmetApplication.__init__(self, splash_label=splash_label)
File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 116, in
__init__
self.setup_shopping()
File "/usr/share/gourmet/gourmet/GourmetRecipeManager.py", line 228, in
setup_shopping
self.sl = shopgui.ShopGui()
File "/usr/share/gourmet/gourmet/shopgui.py", line 633, in __init__
self.data,self.pantry=self.grabIngsFromRecs([])
File "/usr/share/gourmet/gourmet/shopgui.py", line 542, in grabIngsFromRecs
return self.organize_list(self.lst)
File "/usr/share/gourmet/gourmet/shopgui.py", line 545, in organize_list
self.sh = recipeManager.DatabaseShopper(lst, self.rd)
File "/usr/share/gourmet/gourmet/recipeManager.py", line 25, in __init__
shopping.Shopper.__init__(self,lst)
File "/usr/share/gourmet/gourmet/shopping.py", line 23, in __init__
self.init_pantry()
File "/usr/share/gourmet/gourmet/recipeManager.py", line 55, in init_pantry
if len(self.pantry.items())==0:
File "/usr/share/gourmet/gourmet/backends/db.py", line 2013, in items
val = getattr(i,self.vp)
TypeError: an integer is required
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gourmet depends on:
ii python 2.6.6-1 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
ii python-glade2 2.17.0-4 GTK+ bindings: Glade support
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii python-imaging 1.1.7-2 Python Imaging Library
ii python-poppler 0.12.1-1+b1 Poppler Python bindings
ii python-reportlab 2.4-2 ReportLab library to create PDF do
ii python-sqlalchemy 0.6.3-1 SQL toolkit and Object Relational
Versions of packages gourmet recommends:
ii python-gnome2 2.28.1-1 Python bindings for the GNOME desk
ii python-gtkspell 2.25.3-5 Python bindings for the GtkSpell l
gourmet suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyUf1UACgkQ823633cP2P8VawCgjGIEEDzN39IssqcY3sveDap4
CPsAn09N2seG27gcpaMwKTsEDsjflpCt
=nJxS
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]