Opened 13 years ago
Closed 13 years ago
#9164 closed defect (fixed)
Error on Windows
Reported by: | pdoup | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | ExcelDownloadPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
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.
Attachments (0)
Change History (2)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I have confirmed the plugin works on Windows.
Thanks for your reporting!
Sorry, I haven't tested on Windows. The issue is fixed in r10647 and I tested the latest on Windows.