From: Thomas Mills Hinkle <tmhinkle@gm...> - 2005-01-17 16:11:17
I've been doing some work on the database backend to gourmet --
abstracting it so that I can build sql and sqlite backends eventually
and do some speed comparisons (I'm making slow progress toward getting
the sqlite backend up and running). Anyway, in the process, I noticed
that Gourmet is currently loading the recipe database *twice*,
resulting in a substantial waste of memory and slowdown at load time.
I will upload the fix shortly, but sourceforge is not accepting
uploads at the moment, so -- anyone wishing to fix this more quickly
can do it by hand, it's quite a simple fix.
Change line 11 of keyEditor.py (in src/lib/ of the source
distribution, or installed into /usr/lib/python2.x/site-lib/gourmet/ )
def __init__ (self, rd=None, rg=None):
Don't change the indentation, just the rd= part.
Python programmers among you will see that I was loading the full
database unnecessarily as a default value. I can only imaging I was
using the default for easy testing at some point and then failed to
For the more patient, or those who haven't yet downloaded 0.7.1, you
should see new tarballs/rpms/debs up once sourceforge starts
cooperating again. They will be name 0.7.1-2 to make it clear they are
the newest ones.
Oh -- one other minor bug on the About window -- in line 210
self.version should be version.version
Get latest updates about Open Source Projects, Conferences and News.