[issue12395] packaging remove fails under Windows

Vinay Sajip report at bugs.python.org
Fri Jun 24 13:41:10 CEST 2011

New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

"pysetup3 remove projectX" fails on Windows. The reason is that the RECORD file can't be moved, as it's still open (we're using a generator in list_installed_files). Apart from fixing that, a related annoyance is that you get the 

[Error 32] The process cannot access the file because it is being used by another process

but, of course, it doesn't tell you *which* file it failed on. So the error message needs to say which file(s) couldn't be moved.

assignee: tarek
components: Distutils2, Library (Lib)
messages: 138917
nosy: alexis, eric.araujo, tarek, vinay.sajip
priority: normal
severity: normal
status: open
title: packaging remove fails under Windows
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list