Re: Problems with file IO in a thread, and shutil
- From: MRAB <google@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 11:47:42 -0700 (PDT)
On Jun 26, 8:06 am, Roopesh <roopesh....@xxxxxxxxx> wrote:
Thanks for the reply. I did testing in a clean system, were anti virus/
spyware is not installed. It still gave this problem, in say 1 out of
1000 cases.
By any chance would it be possible that the Windows OS has not
completed writing to the file even after file.flush() and file.close()
is called?
Thanks
Roopesh
Maybe it's a Windows service, eg the indexing service or generating
thumbnails. Anyway, retrying after a delay would still be worth it.
.
- Follow-Ups:
- Re: Problems with file IO in a thread, and shutil
- From: Roopesh
- Re: Problems with file IO in a thread, and shutil
- References:
- Problems with file IO in a thread, and shutil
- From: Roopesh
- Re: Problems with file IO in a thread, and shutil
- From: MRAB
- Re: Problems with file IO in a thread, and shutil
- From: Roopesh
- Problems with file IO in a thread, and shutil
- Prev by Date: Re: Komodo Edit newbie Q
- Next by Date: Re: url.encore/quote
- Previous by thread: Re: Problems with file IO in a thread, and shutil
- Next by thread: Re: Problems with file IO in a thread, and shutil
- Index(es):
Relevant Pages
|