Re: default shelve on linux corrupts, does different DB system help?

2009-03-22 Thread Paul Sijben
Thanks very much for a clear and concise explanation of the problem and the solution! I am implementing it now in my system. Luckily we caught this one during testing so no important data has been lost. Unfortunately windows does not seem to support gdbm. But in our case, everything that is on

Re: default shelve on linux corrupts, does different DB system help?

2009-03-22 Thread skip
Paul Unfortunately windows does not seem to support gdbm. That is a known issue, but one that can be solved I think by getting rid of the old 1.85 version of BerkDB and using something more modern. I believe the current bsddb module in recent Python versions supports BerkDB 3.x and 4.x.

Re: default shelve on linux corrupts, does different DB system help?

2009-03-13 Thread skip
Paul I have the problem that my shelve(s) sometimes corrupt (looks like Paul it has after python has run out of threads). Paul I am using the default shelve so on linux I get the dbhash Paul version. Is there a different DB type I can choose that is known Paul to be more

default shelve on linux corrupts, does different DB system help?

2009-03-12 Thread Paul Sijben
I have the problem that my shelve(s) sometimes corrupt (looks like it has after python has run out of threads). I am using the default shelve so on linux I get the dbhash version. Is there a different DB type I can choose that is known to be more resilient? And if so, what is the elegant way of