Opened 3 years ago

Last modified 3 years ago

#3052 new defect

"File is being used by another process"

Reported by: sa2ajj Owned by:
Priority: major Milestone: 0.8.x
Version: 0.8.9 Keywords: windows
Cc:

Description

Per discussion on IRC, there's an error while uploading a directory on Windows 8.

Currently I see two options (both seem to be bad):

I hope "brson" will provide a bit more information about the second option and I'll try to check the first one once I have a Windows machine to test.

Change History (3)

comment:1 Changed 3 years ago by sa2ajj

The test coverage is collected under Linux, so I can't really say if this particular part of code is tested under Windows (under Linux it gets tested).

comment:2 Changed 3 years ago by sa2ajj

"brson" said in a Rust related ticket that when they run only one build on their EC2 instance, the problem does not manifest.

So it looks like we might have a problem with temporary names, but I really do not know how to approach it.

comment:3 Changed 3 years ago by dustin

The mkstemp implementation (https://hg.python.org/cpython/file/2.7/Lib/tempfile.py#l230) seems pretty straightforward..

Note: See TracTickets for help on using tickets.