Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3661 closed defect (duplicate)

Chokes on displaying changeset for whatever reason

Reported by: lars.erdmann@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: version control/changeset view Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Reasons could be:

  1. a lot of changes were done between 2 checkins
  2. "C" source files did not contain newlines at the end
  3. all ASCII files contain svn:eol-style property, I had to remove it for some files because svn was complaining about inconsisent line end or so

Python traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/local/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.3/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.3/site-packages/trac/versioncontrol/web_ui/changeset.py", line 257, in _render_html
    ignore_space_changes='-b' in diff_options[1])
  File "/usr/local/lib/python2.3/site-packages/trac/versioncontrol/diff.py", line 179, in hdf_diff
    for group in _group_opcodes(opcodes, context):
  File "/usr/local/lib/python2.3/site-packages/trac/versioncontrol/diff.py", line 116, in _group_opcodes
    for idx, (tag, i1, i2, j1, j2) in enum(opcodes):
  File "/usr/local/lib/python2.3/site-packages/trac/util.py", line 43, in enum
    for item in iter(iterable):
  File "/usr/local/lib/python2.3/site-packages/trac/versioncontrol/diff.py", line 77, in _get_opcodes
    for tag, i1, i2, j1, j2 in matcher.get_opcodes():
  File "/usr/local/lib/python2.3/difflib.py", line 525, in get_opcodes
    for ai, bj, size in self.get_matching_blocks():
  File "/usr/local/lib/python2.3/difflib.py", line 473, in get_matching_blocks
    self.__helper(0, la, 0, lb, self.matching_blocks)
  File "/usr/local/lib/python2.3/difflib.py", line 490, in __helper
    self.__helper(i+k, ahi, j+k, bhi, answer)
  ...
  <repeated over again an insanely number of times>
  ...
  File "/usr/local/lib/python2.3/difflib.py", line 490, in __helper
    self.__helper(i+k, ahi, j+k, bhi, answer)
  File "/usr/local/lib/python2.3/difflib.py", line 490, in __helper
    self.__helper(i+k, ahi, j+k, bhi, answer)
  File "/usr/local/lib/python2.3/difflib.py", line 481, in __helper
    i, j, k = x = self.find_longest_match(alo, ahi, blo, bhi)
RuntimeError: maximum recursion depth exceeded

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #2756. This is a bug triggered by inconsistent line endings (mix of CRLF/LF), but the exact nature of the trigger is still unknown. If you have small files which can trigger the bug, please attach them to ticket #2756.

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.