[issue1073] Mysterious failure under Windows

Gabriel Genellina report at bugs.python.org
Sat Sep 1 03:03:04 CEST 2007


Gabriel Genellina added the comment:

Does the file exist before program is started, and remains after 
program finishes?
If it is your program which creates the file, you may have a race 
condition. Maybe some delays/retries will be enough, or perhaps you 
will have to use some other syncronization mechanisms.

Also, I see you use a relative path. Do you change the current 
directory (with os.chdir or similar)?

----------
nosy: +gagenellina

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1073>
__________________________________


More information about the Python-bugs-list mailing list