error while removing tmp file on windows when downloading extends fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
when running on windows, and the buildout fails to download the extens, the windows error is raised ecause the tmp file is locked:
here is the code that failes, download.py, line 179 - 187:
try:
if not check_md5sum(
except IOError, e:
the os.remove(tmp_path) raises following error on windows:
Traceback (most recent call last):
File "C:\Buildouts\
command)
File "C:\Buildouts\
data[
File "C:\Buildouts\
downloaded)
File "C:\Buildouts\
path, is_temp = download(filename)
File "C:\Buildouts\
local_path, is_temp = self.download(url, md5sum, path)
File "C:\Buildouts\
os.
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\
Regards
Roman