On Tue, 2004-05-18 at 13:40, Cleber Rodrigues Rosa Jr wrote:
> On Tue, 2004-05-18 at 11:22, Haim Ashkenazi wrote:
> > On Tue, 2004-05-18 at 16:55, Johan Dahlin wrote:
> > > > > APP / DIR might be wrong, you'd have to check what files are accessed by
> > > > > python/
> > > > well, I found strace for windows, but it's output is weird. In linux the
> > > > output says "open ... <filename> etc.." in windows it says "NTCreateFile
> > > > ...". I've attached a few lines from this file because I can't
> > > > understand what it does.
> > >
> > > open is NtOpenFile in windows, so just check:
> > > 6775 1092 1016 NtOpenFile (0x100001, {24, 0, 0x40, 0, 0,
> > > "\??\C:\Python23\lib\encodings\"}, 3, 16417, ... 108, {status=0x0,
> > > info=1}, ) == 0x0
> > >
> > > See, it tried to access C:\Python23\lib\encodings and returns 0 (which
> > > might be an error code, I don't know)
> > >
> > > So just filter on this system/library call and you'll see all files it
> > > tried to open
> > Strange, it doesn't try to open this file. it does try to open the
> > directory (actually it tries first to open 'locale\he_IL\LC_MESSAGES\'
> > and of-course it fails because it doesn't exist, but in the next line it
> > opens 'locale\he\LC_MESSAGES\' and have an exit status of 0, which I
> > guess is correct. the only mention of the file "hebtest.mo" is when it
> > tries to create it (NtCreateFile).
>
> It might be irrelevant (or not) but NtCreateFile serves the function of
> Creating *AND* Opening files. That's the crazy nuts M$ API.
really? that means that it access the files correctly. so I have to ask:
does anybody knows if gettext works in windows? (or works with pygtk in
windows)?thanx -- Haim
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
