Intermittent "permission denied" errors when using os.rename and a recently deleted path??
Russell Warren
russandheather at gmail.com
Wed Jul 26 19:09:24 EDT 2006
> Are you running a background file accessing tool like Google Desktop
> Search or an anti-virus application? If so, try turning them off as a test.
I'm actually running both... but I would think that once os.remove
returns that the file is actually gone from the hdd. Why would either
application be blocking access to a non-existent file?
Of course, my thinking is obviously wrong since I do get the permission
problem... I will definitely try disabling those. Now if only I could
reproducably repeat it to make testing easier. :(
Another thing is that I certainly do want the code to work in the
presence of such tools.
More information about the Python-list
mailing list