Author fabioz
Recipients amaury.forgeotdarc, fabioz
Date 2008-08-18.18:55:19
SpamBayes Score 5.72558e-11
Marked as misclassified No
Message-id <>
I've pasted the output below... also, the trace function is called for
each function call after the settrace (not only in interpreter shutdown)
-- and the error happens in the listdir -- which is in the main thread,
so, it must happen before the interpreter shutdown.

Also, one thing: it works if you read an empty folder... And putting:
"print frame.f_code.co_filename, frame.f_lineno" in the 'func', it'll go
on and print
/usr/lib/python2.4/encodings/ 15
/usr/lib/python2.4/encodings/ 16
/usr/lib/python2.4/encodings/ 16

For each file/dir available (so, it seems it's actually able to go on
and get all the contents, but before returning, that exception is thrown)

Output from running it:


Traceback (most recent call last):
  File "/home/fabioz/test workspace with spaces/test
project/src/mod1/mod2/", line 23, in ?
    print listdir(dir)
OSError: [Errno 11] Resource temporarily unavailable: '/home/fabioz/jython'
Date User Action Args
2008-08-18 18:55:21fabiozsetrecipients: + fabioz, amaury.forgeotdarc
2008-08-18 18:55:21fabiozsetmessageid: <>
2008-08-18 18:55:20fabiozlinkissue3494 messages
2008-08-18 18:55:19fabiozcreate