>From: David Binger>To: "Austine Jane" >CC: durus-users@mems-exchange.org >Subject: Re: [Durus-users] FileStorage bug? >Date: Fri, 15 Oct 2004 09:14:42 -0400 > >We haven't seen this on any other platform, so I suspect this >issue is specific to Windows, where the testing we have done >is minimal. If the atexit registration is the best solution then >I think we should include it in the next release. I wonder, though, >if FileStorage.__del__ = FileStorage.close would work as well. >Have you, by any chance, tried that or decided it was not sufficient? > > Thanks. Please refer to my reply to Neil. I tested the same code in windows and then in linux. It doesn't spit any error on linux. When there was "short read" error on windows, I once checked the length for the assert statement, and it was something like 805 and 801 or something. Now I usually see EOFErrors from unpickler.load in serialize.py. I suppose they are some platform specific miscalculation from reading the file header(since the error occurs not on the first running, but from the second running on). Could anybody help? Jane _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/