Closed Bug 1161986 Opened 11 years ago Closed 11 years ago

mozdevice cannot remove tempfile in windows platform

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1135255

People

(Reporter: oouyang, Unassigned)

Details

No description provided.
In pullFile, we use tempfile.mkstemp()[1] to create temp file and later we use mozfile.remove to remove the filename. But it failed because tempfile.mkstemp() open this file with a file handle and cannot be removed later. Suggest to get the file handler and filename and open the file with this handler. Then close this handler and it could remove the file successfully.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Hi Jonathon, I found that this issue was fixed, but not apply to mozdevice(0.44). Could you please let me how could we have a new mozdevice(0.45+) to include this fix?
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(jgriffin)
Resolution: DUPLICATE → ---
Filed bug 1162115 for this.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago → 11 years ago
Flags: needinfo?(jgriffin)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.