Shelve problem: why so big?
Thomas Weholt
thomas at gatsoft.no
Thu Nov 8 07:53:29 EST 2001
"Oleg Broytmann" <phd at phd.pp.ru> wrote in message
news:mailman.1005218719.27461.python-list at python.org...
> On Thu, Nov 08, 2001 at 11:00:52AM +0000, Geert-Jan Giezeman wrote:
> > I am trying to create a shelve from a table of 1100 by 1100 floating
> > point numbers, which I want to store as 1100 lists of length 1100,
> > indexed by a key. Unfortunately, I get an error when I try to create
> > this:
> > bsddb.error; (22, Invalid argument)
>
> http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.099.htp
>
> Oleg.
> --
> Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
> Programmers don't die, they just GOSUB without RETURN.
>
I've experienced this problem if I don't close the db-connection after using
it. Be sure that you call close before ending the script/program.
Thomas
More information about the Python-list
mailing list