Humm...seems to be a problem with the VMware/Samba mounted
file systems. I moved the '.mk' file to my C: drive and
now am seeing correct output (at least from this simple
program). How bothersome, a whole day wasted chasing this.
On Mon, 2004-09-20 at 16:51, William K. Volkman wrote:
> 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]>
_____________________________________________
Metakit mailing list - [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit