I am trying to upload a file into trac that will be accessed via the
DownloadsPlugin (http://trac-hacks.org/wiki/DownloadsPlugin). The
files in question are 750MB. When I try to upload them, I get the
error below. In the [downloads] section of my trac.ini, I have:

  max_size = 800000000

I do have files that are bigger than 450 MB. But the 750 MB files are
problematic. I know that when the max_size value was too small, I got
a different error. So I am suspecting something outside of Trac. But I
am not sure. Trac is run via apache on an openSUSE Linux server.

Oops…

Trac detected an internal error:

MemoryError:


Python Traceback

Most recent call last:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 512,
in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 186,
in dispatch
    self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 333,
in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File 
"/usr/lib/python2.7/site-packages/TracDateField-1.1.0_r0-py2.7.egg/datefield/filter.py",
line 164, in pre_process_request
    if req.args.get('type') == 'date':
  File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 353,
in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 336, in <lambda>
    'args': lambda req: arg_list_to_args(req.arg_list),
  File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 353,
in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 694,
in _parse_arg_list
    fs = _FieldStorage(fp, environ=self.environ, keep_blank_values=True)
  File "/usr/lib/python2.7/cgi.py", line 508, in __init__
    self.read_multi(environ, keep_blank_values, strict_parsing)
  File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 206,
in read_multi
    cgi.FieldStorage.read_multi(self, *args, **kwargs)
  File "/usr/lib/python2.7/cgi.py", line 635, in read_multi
    headers = rfc822.Message(self.fp)
  File "/usr/lib/python2.7/rfc822.py", line 108, in __init__
    self.readheaders()
  File "/usr/lib/python2.7/rfc822.py", line 155, in readheaders
    line = self.fp.readline()
  File "/usr/lib/python2.7/site-packages/trac/web/modpython_frontend.py",
line 52, in readline
    return self.req.readline(size)
MemoryError


-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to