This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akineko
Recipients akineko
Date 2007-08-31.19:14:11
SpamBayes Score 0.2997252
Marked as misclassified No
Message-id <1188587652.29.0.942099361448.issue1073@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I'm not sure this is a right place to write in the problem I found.
What I found was:
(1) create a thread
(2) open a file in the thread
(3) everything works fine under Solaris
(4) Openning a file in the thread fails intermittenly under Windows
Not always it fails.
The file is there but it returns:
  File "h:\prj\socgear\unidbg\tkunidbg\sub.py", line 94, in thread_worker
    fd = open(fn, 'rb')
IOError: [Errno 2] No such file or directory: './XXX.dat'
(5) The problem goes away (under Windows) if I have the main thread wait
until the file is opened using Event.

//

The program also uses Tkinter but I'm not sure that is relevant.
I cannot submit the whole program as it is too big to submit.

Aki-
History
Date User Action Args
2007-08-31 19:14:12akinekosetspambayes_score: 0.299725 -> 0.2997252
recipients: + akineko
2007-08-31 19:14:12akinekosetspambayes_score: 0.299725 -> 0.299725
messageid: <1188587652.29.0.942099361448.issue1073@psf.upfronthosting.co.za>
2007-08-31 19:14:12akinekolinkissue1073 messages
2007-08-31 19:14:11akinekocreate