Shelve problem: why so big?
geert at cs.uu.nl
Thu Nov 8 14:30:38 CET 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)
This FAQ advises to move to a newer version of the Berkeley DB library.
How do I know which version I use? How do I replace it with a newer?
(I installed the standard Python 2.1 distribution for Windows).
In <dfvG7.28$eZi.174679040 at news.telia.no> "Thomas Weholt" <thomas at gatsoft.no> writes:
>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.
I did that, so that was not the cause of the trouble.
More information about the Python-list