Edgewall Software
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 Christian Boos)

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 Christian Boos, 18 years ago

Component: generalchangeset view
Description: modified (diff)
Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.