[Metakit] Blocked with Ordered broken on Win32 (was Database
William K. Volkman
wkvmk at netshark.com
Mon Sep 20 18:22:55 CEST 2004
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 <wkvmk at netshark.com>
More information about the Metakit