Modify ↓
      
        Opened 18 years ago
Last modified 14 years ago
#2811 assigned defect
error while loading large file
| Reported by: | Owned by: | Petr Škoda | |
|---|---|---|---|
| Priority: | normal | Component: | TracDownloaderPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 | 
Description (last modified by )
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 18 years ago by
| Status: | new → assigned | 
|---|
comment:3 Changed 14 years ago by
| Description: | modified (diff) | 
|---|
Note: See
        TracTickets for help on using
        tickets.
    


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