Modify ↓
Opened 18 years ago
Closed 18 years ago
#3422 closed defect (worksforme)
Trying to view changeset and an internal error occures
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/changeset view | Version: | 0.9.6 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Can't understand from where the error comes. so i just copy+paste what it says :
Python traceback Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler dispatch_request(req.path_info, req, env) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 86, in process_request self._render_html(req, repos, chgset, diff_options) File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 231, in _render_html old_content = util.to_utf8(old_content, charset or default_charset) File "/usr/local/lib/python2.4/site-packages/trac/util.py", line 279, in to_utf8 u = unicode(text, 'utf-8') MemoryError
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
Component: | general → changeset view |
---|---|
Description: | modified (diff) |
Resolution: | → worksforme |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Buy RAM :)
More seriously, the problem occurs because you're running out of memory while rendering what is probably a huge changeset.
0.10 has some ways to manage resource consumption in this case, see the [changeset] max_diff_bytes configuration option.