On Mon, 2004-09-20 at 16:41, Brian Kelley wrote:
> I'll bet you a beer that I know what you are doing wrong here (because
> I've done the same thing :) )
> 
Where are you? I'd like to collect (just kidding ;-)

grep -Hn open dbrestore.py
dbrestore.py:42:r = open('backup-data.sav','rb')

Good thought though.

> If you load or save on windows, you MUST supply the binary flag.
> 
> read
> file = open("foo", "b")
> 
> write
> file = open('foo", "wb")
> 
> Another reason why windows stinks (IMHO).  If you want portable
> metakit, whenever you use save or load just add the stupid binary
> flag.

The attached simple program pukes garbage on the screen
and after a couple of runs gives me the
SystemError: error return without exception set.

Do you have a Windows system that you could test it on?
-- 
William K. Volkman <[EMAIL PROTECTED]>

Attachment: bugone.py
Description: application/python

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to