Error on Windows
|Reported by:||pdoup||Owned by:||jun66j5|
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.