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).

any ideas?
-- 
Haim

Attachment: 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/

Reply via email to