Modify

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 Jun Omae

Status: newassigned

Thanks for your reporting!

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

comment:2 Changed 13 years ago by Jun Omae

Resolution: fixed
Status: assignedclosed

I have confirmed the plugin works on Windows.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.