Ticket #3031 (new defect)

Opened 2 months ago

Last modified 2 months ago

Can not upload file on windows.

Reported by: anonymous Assigned to: peca
Priority: high Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

On windows, when I attampt to add a download, it fails with this in the log file:

2008-05-14 23:05:52,826 Trac[main] DEBUG: Dispatching <Request "POST u'/admin/downloads/downloads'"> 2008-05-14 23:05:53,171 Trac[api] DEBUG: context: <Context <Resource 'downloads-admin'>> page: downloads action: post-add 2008-05-14 23:05:53,171 Trac[api] DEBUG: modes: ['downloads-post-add', 'admin-downloads-list'] 2008-05-14 23:05:53,171 Trac[api] DEBUG: INSERT INTO download (description, author, tags, component, platform, version, architecture, file, time, type, size) VALUES (Installer, jfemiani, None, hvm_lib, 1, 1.0, 1, C:\JOHN\hvm\dist\Setup.exe, 1210831553, 1, 3230817) 2008-05-14 23:05:53,171 Trac[api] DEBUG: SELECT id, file, description, size, time, count, author, tags, component, version, architecture, platform, type FROM download WHERE time = 1210831553 2008-05-14 23:05:53,171 Trac[api] DEBUG: ext: exe 2008-05-14 23:05:53,171 Trac[api] DEBUG: filepath: C//JOHN/hvm/dist/Setup.exe 2008-05-14 23:05:53,171 Trac[api] DEBUG: path: C//JOHN/hvm/dist 2008-05-14 23:05:53,171 Trac[api] DEBUG: [Error 2] The system cannot find the path specified: u'C//JOHN/hvm/dist' 2008-05-14 23:05:53,171 Trac[api] DEBUG: DELETE FROM download WHERE id = 1 2008-05-14 23:05:53,171 Trac[main] WARNING: 500 Trac Error (Error storing file C:\JOHN\hvm\dist\Setup.exe! Is directory specified in path config option in [downloads] section of trac.ini existing?) 2008-05-14 23:05:53,171 Trac[chrome] DEBUG: Prepare chrome data for request 2008-05-14 23:05:53,186 Trac[session] DEBUG: Retrieving session for ID u'jfemiani' 2008-05-14 23:05:53,249 Trac[main] DEBUG: 559 unreachable objects found.

The downloads folder exists on the server, and _everybody_ has access to it.

-- John

Attachments

Change History

(in reply to: ↑ description ) 05/15/08 01:23:27 changed by anonymous

Sorry for the garbage, here it is again:

2008-05-14 23:05:52,826 Trac[main] DEBUG: Dispatching <Request "POST u'/admin/downloads/downloads'">
2008-05-14 23:05:53,171 Trac[api] DEBUG: context: <Context <Resource 'downloads-admin'>> page: downloads action: post-add
2008-05-14 23:05:53,171 Trac[api] DEBUG: modes: ['downloads-post-add', 'admin-downloads-list']
2008-05-14 23:05:53,171 Trac[api] DEBUG: INSERT INTO download (description, author, tags, component, platform, version, architecture, file, time, type, size) VALUES (Installer, jfemiani, None, hvm_lib, 1, 1.0, 1, C:\JOHN\hvm\dist\Setup.exe, 1210831553, 1, 3230817)
2008-05-14 23:05:53,171 Trac[api] DEBUG: SELECT id, file, description, size, time, count, author, tags, component, version, architecture, platform, type FROM download WHERE time = 1210831553
2008-05-14 23:05:53,171 Trac[api] DEBUG: ext: exe
2008-05-14 23:05:53,171 Trac[api] DEBUG: filepath: C//JOHN/hvm/dist/Setup.exe
2008-05-14 23:05:53,171 Trac[api] DEBUG: path: C//JOHN/hvm/dist
2008-05-14 23:05:53,171 Trac[api] DEBUG: [Error 2] The system cannot find the path specified: u'C//JOHN/hvm/dist'
2008-05-14 23:05:53,171 Trac[api] DEBUG: DELETE FROM download WHERE id = 1
2008-05-14 23:05:53,171 Trac[main] WARNING: 500 Trac Error (Error storing file C:\JOHN\hvm\dist\Setup.exe! Is directory specified in path config option in [downloads] section of trac.ini existing?)
2008-05-14 23:05:53,171 Trac[chrome] DEBUG: Prepare chrome data for request
2008-05-14 23:05:53,186 Trac[session] DEBUG: Retrieving session for ID u'jfemiani'
2008-05-14 23:05:53,249 Trac[main] DEBUG: 559 unreachable objects found.

05/15/08 01:25:47 changed by anonymous

contact me at john.femiani at asu.edu


Add/Change #3031 (Can not upload file on windows.)




Change Properties
Action