Modify

Opened 17 years ago

Last modified 13 years ago

#2811 assigned defect

error while loading large file

Reported by: ian.trac@… Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Downloader seems to be working fantastically on smaller files (<20mb) but dies on my primary release package (~500mb). Not neccesarily sure it's downloader dependent but ideas on how to get around/improve downloader to be able to handle files of this size would be greatly appreciated.

Server 2k3, XAMP (Apache 2.2) Trac .11dev and here's the output from the log:

2008-03-27 19:45:06,302 Trac[chrome] DEBUG: Prepare chrome data for request
2008-03-27 19:45:06,349 Trac[session] DEBUG: Retrieving session for ID 'ijones'
2008-03-27 19:45:06,365 Trac[session] DEBUG: Retrieving session for ID 'ijones'
2008-03-27 19:45:06,552 Trac[main] DEBUG: 475 unreachable objects found.
2008-03-27 19:45:06,599 Trac[main] DEBUG: 384 unreachable objects found.
2008-03-27 19:45:18,459 Trac[main] DEBUG: Dispatching <Request "POST u'/admin/general/downloader/files/release/1'">
2008-03-27 19:45:18,474 Trac[main] ERROR: 
Traceback (most recent call last):
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\main.py", line 417, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\main.py", line 164, in dispatch
    if handler.match_request(req):
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\admin\web_ui.py", line 75, in match_request
    req.args['cat_id'] = match.group(1)
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\api.py", line 444, in _parse_args
    fs = cgi.FieldStorage(fp, environ=self.environ, keep_blank_values=True)
  File "C:\Python25\lib\cgi.py", line 534, in __init__
    self.read_multi(environ, keep_blank_values, strict_parsing)
  File "C:\Python25\lib\cgi.py", line 657, in read_multi
    headers = rfc822.Message(self.fp)
  File "C:\Python25\lib\rfc822.py", line 104, in __init__
    self.readheaders()
  File "C:\Python25\lib\rfc822.py", line 151, in readheaders
    line = self.fp.readline()
  File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\modpython_frontend.py", line 46, in readline
    return self.req.readline(size)
MemoryError
2008-03-27 19:45:18,474 Trac[chrome] DEBUG: Prepare chrome data for request
2008-03-27 19:45:18,490 Trac[session] DEBUG: Retrieving session for ID 'ijones'
2008-03-27 19:45:18,552 Trac[main] DEBUG: 441 unreachable objects found.

Attachments (0)

Change History (3)

comment:1 Changed 17 years ago by Petr Škoda

Status: newassigned

Thank you very much for your post! I must admit that I didn't try downloading big files since I changed method of file getting from my own to Trac's. So I'll do some tests and you please first of all check if you have newest version of Downloader (check by SVN repository changes log on the end of wiki page).

Thanks!

Peca

comment:2 Changed 17 years ago by anonymous

Thanks, I am on the latests installed out of svn on 3/26/08.

comment:3 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Petr Škoda.

Add Comment


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

 
Note: See TracTickets for help on using tickets.