Opened 17 years ago
Last modified 17 years ago
#2660 assigned defect
Files download with html appended to the end of them
Reported by: | Kelly Norton | Owned by: | Petr Škoda |
---|---|---|---|
Priority: | normal | Component: | TracDownloaderPlugin |
Severity: | normal | Keywords: | |
Cc: | Kelly Norton | Trac Release: | 0.11 |
Description
I have TracDownloader installed on Windows 2003 Server, Apache 2.0.59 , Trac 0.11b1, python v2.4.
Whenever a file is downloaded with TracDownloader, it looks as if the file downloaded fine but there is HTML appended to the end of it. I've attached the html that gets appended to the file.
I've also attached the Apache Error log.
Right now I get around this by zipping the file. (the zip file still opens ok even though it has extra data appended to it).
Here's the URL to my trac page.. http://www.stellar-sat.net:5230/trac_projects/PosRptAppV3/
Another problem that may or not be related is that the data from the last person to fill out the questionaire is still there for the next person who downloads a file.
Attachments (2)
Change History (5)
Changed 17 years ago by
Attachment: | TracDownloadError_appendedToDownloadedFile.html added |
---|
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
Hello,
I've just tried downloading a file from your web but I cannot see described HTML code at the end of any provided file. So is your problem solved? Or does that problem happen only when questionnaire is turned on? Please tell me more. I'm missing Trac error log too - so please give me information from it too.
Described issue about prefilled questionnaire shouldn't be real problem because prefilled data are saved only in users session so if you're not logged in and you fill questionnaire restart browser and open again then everything should be all right. It's dependent on Trac user session system.
Thank you for reporting!
Replying to kelly@stellar-sat.com:
I have TracDownloader installed on Windows 2003 Server, Apache 2.0.59 , Trac 0.11b1, python v2.4.
Whenever a file is downloaded with TracDownloader, it looks as if the file downloaded fine but there is HTML appended to the end of it. I've attached the html that gets appended to the file.
I've also attached the Apache Error log.
Right now I get around this by zipping the file. (the zip file still opens ok even though it has extra data appended to it).
Here's the URL to my trac page.. http://www.stellar-sat.net:5230/trac_projects/PosRptAppV3/
Another problem that may or not be related is that the data from the last person to fill out the questionaire is still there for the next person who downloads a file.
comment:2 follow-up: 3 Changed 17 years ago by
Trac Release: | 0.10 → 0.11 |
---|
Sorry about the attachments. I tried to attach the files and couldn't because of some sort of spam filtering on the trac-hacks page.
I downloaded version 0.11 of your software (and version 0.11b1 of trac itself) and that fixed the problem of the html being appended to the end of each downloaded file.
However, the data for the last person to download a file is still showing up in the forms for the next person who tried to download a file. I tested this by filling in the forms on my home PC and downloading a file, then I did a remote log-in to a work computer to download the file. The name that I used at my home appeared in the form on the work PC. (right now the name is Fred Flinestone.) I've left the questionnaire page on in case you want to take a look at what I have now at http://www.stellar-sat.net:5230/trac_projects/PosRptAppV3/.
I looked through your source to see if I could figure out what was going on, but I don't know anything about Python.
BTW: Thanks for writing this, very nice. Thanks.
comment:3 Changed 17 years ago by
Hello!
Problem with prefilled questionnaire is very strange. Can you send me your questionnaire definition file (form_data.py)? But I think that problem must be somewhere in Trac session storing on your server - I din't see this problem on any configuration I've tested Trac. So please review your Trac config and try to create one more Trac environment to see if there is same problem. Next thing to check would be table in Trac environment with session data (tables session and session_attribute). There you should see more sessions and in attributes table there should be many different form fillups.
So send me something more please I hope we can solve this problem.
Bye!
Replying to knorton:
Sorry about the attachments. I tried to attach the files and couldn't because of some sort of spam filtering on the trac-hacks page.
I downloaded version 0.11 of your software (and version 0.11b1 of trac itself) and that fixed the problem of the html being appended to the end of each downloaded file.
However, the data for the last person to download a file is still showing up in the forms for the next person who tried to download a file. I tested this by filling in the forms on my home PC and downloading a file, then I did a remote log-in to a work computer to download the file. The name that I used at my home appeared in the form on the work PC. (right now the name is Fred Flinestone.) I've left the questionnaire page on in case you want to take a look at what I have now at http://www.stellar-sat.net:5230/trac_projects/PosRptAppV3/.
I looked through your source to see if I could figure out what was going on, but I don't know anything about Python.
BTW: Thanks for writing this, very nice. Thanks.
html that gets appened to files downloaded using TracDownloader