Opened 17 years ago
Closed 17 years ago
#2506 closed defect (fixed)
Download Plugin doens't work under Win2k
Reported by: | anonymous | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | high | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I have create the folder: "E:\PROJECTS\trac\MyProj\downloads\"
I set the trac.ini file as follow: [downloads] ext = zip gz bz2 rar path = E:\PROJECTS\trac\MyProj\downloads\ title = Downloads unique_filename = false visible_fields = id file description size time count author tags component version architecture platform type
Then i execute the trac-admin upgrade as required.
then when i try to updload a file an error message appear. It ask me if the folder specified in "path" is existing. This is the log: .. 10.12.00 Trac[api] DEBUG: ext: zip 10.12.00 Trac[api] DEBUG: filepath: EPROJECTS/trac/MyProj/downloads/1/addcommentmacro.zip 10.12.00 Trac[api] DEBUG: path: EPROJECTS/trac/MyProj/downloads/1 10.12.00 Trac[api] DEBUG: [Error 2] Impossibile trovare il percorso specificato: u'EPROJECTS/trac/SaveEnergy/downloads/1' 10.12.00 Trac[api] DEBUG: DELETE FROM download WHERE id = 1 10.12.00 Trac[chrome] DEBUG: Prepare chrome data for request 10.12.00 Trac[main] WARNING: 500 Trac Error (Error storing file addcommentmacro.zip! Is directory specified in path config option in [downloads] section of trac.ini existing?)
I see that the the path where the plugin is searching is EPROJECTS/trac/MyProj/downloads/1, instead of E:/PROJECTS/trac/MyProj/downloads/1
Do I have set something wrong?
Attachments (0)
Change History (6)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Status: | new → assigned |
---|
I'm not sure how should Python on Windows handle paths, but I barely remember that EPROJECTS/trac/MyProj/downloads/1 should be correct. I'll consult it with manual. What does "Impossibile trovare il percorso specificato" mean in english?
comment:3 Changed 17 years ago by
The sentence : "Impossibile trovare il percorso specificato" means: "Unable to find the specified path". Sorry i forgot to translate the sentence.
comment:4 Changed 17 years ago by
Try it please with r3166 and try also to upload file with local characters in filename. According to your report it's 0.11 branch, I'll port changes to 0.10 if they appear to be working.
comment:6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changes ported to 0.10 branch -> closing.
I fotgot my email.