Ticket #1191 (closed defect: invalid)

Opened 6 years ago

Revtree crashing after install under Trac 0.10.3

Reported by: Assigned to: chad@kcrproducts.com eblot normal RevtreePlugin normal 0.10

Description

I've just installed revtree and gotten it showing up in the nav bar. When I go to its page, I get the following python dump after 10-15 seconds. The trac log file shows the revtree eggs being loaded and no errors. The web pages has an Oops from trac with an internal error, then the following dump. The repository has few branches but lots of tags.

Python Traceback

Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 186, in process_request
File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 314, in _process_revtree
File "build/bdist.linux-i686/egg/revtree/model.py", line 309, in build
File "build/bdist.linux-i686/egg/revtree/model.py", line 55, in build
File "build/bdist.linux-i686/egg/revtree/model.py", line 83, in _find_simple_branch
StopIteration


Change History

02/08/07 19:44:32 changed by anonymous

• status changed from new to closed.
• resolution set to invalid.

This crash appears to be related to the trac timeout. Increasing the timeout improved things. I just think my repository is a little big for this tool.

02/08/07 22:57:21 changed by eblot

How long are your branches (how many changesets / branch) ?

I'm using it w/ over 300 displayed changesets (15 branches, 20 revisions/branch) and it takes less than 5 seconds to render.

02/08/07 23:16:27 changed by chad@kcrproducts.com

We have 101 branches. Each branch has only a few versions on it. The trunk branch has over 20k revisions. This repository was imported from CVS, so I've had lots of trouble with revtree getting confused. cvs2svn does some really strange stuff.

02/08/07 23:22:58 changed by eblot

Well, csv2svn might be the root cause of the issue, indeed.

RevtreePlugin assumes that one revision contains changes in a single branch - and only one. If it's not the case, RevtreePlugin may not work, or behave badly.

If your usage of SVN is different, RevtreePlugin is pretty much useless here.

Note that you can tell RevtreePlugin to ignore old revisions: if you follow the one changeset - one branch rule now that the import from CVS is done, simply tell RevtreePlugin not to consider all the revisions that have been imported.

Add/Change #1191 (Revtree crashing after install under Trac 0.10.3)

Change Properties