Opened 5 years ago

Closed 5 years ago

# Error on Windows

### Description

An error is thrown by Trac when using this plugin on Windows. The following error is thrown in these cases:

WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\windows\\temp\\tmp4ftjyw'


These errors are ultimately caused by the os.unlink() calls that delete the temporary files. Apparently the files are still in use by the web server or something and Windows won't let them be deleted.

I commented out the unlink lines in the code and was able to get the excel file downloaded. After I downloaded the files, the temporary files could be deleted, so my assumption is that they cannot be deleted until the download is complete.

I also assume you wrote this on *nix so if you need any help testing on windows, please let me know.

### comment:1 Changed 5 years ago by Jun Omae

Status: new → assigned

Sorry, I haven't tested on Windows. The issue is fixed in r10647 and I tested the latest on Windows.

### comment:2 Changed 5 years ago by Jun Omae

Resolution: → fixed assigned → closed

I have confirmed the plugin works on Windows.

### Modify Ticket

Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.