Hi,

We have a problem with a repository that got converted from CVS to SVN,
the developer committed a rather big changeset and TRAC seems to have
problem with that.

You can try it online here: http://svn.netlabs.org/fat32/changeset/58

Other repositories work just fine, might be that the changesets are
smaller there.

I run TRAC 0.9.5 on FreeBSD.

The trackeback I get looks like this:

--
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)

[ same error many times repeated ]

  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
--

can I do some more testing for locating the bug?

cu

Adrian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to