Modify

Opened 6 years ago

Closed 6 years ago

#2782 closed defect (worksforme)

trac error when loading /revtree

Reported by: wan@… Owned by: eblot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

How to Reproduce

While doing a GET operation on /revtree, Trac issued an internal error.

revtree was downloaded as zip file from trac-hacks on March 21, 2008. svn module in trac is working properly.

trac.ini:

[revtree]
abstime = True
branch_re = ^(?P<branch>branches/[^/]+|trunk|tags)(?:/(?P<path>.*))?$
contexts = changeset, browser
revbase = 100
scale = 1.0
style = compact
trunks = trunk

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080208 Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12

System Information

Trac 0.11b2
Python 2.5.1 (r251:54863, Oct 30 2007, 13:45:26)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
setuptools 0.6c8
SQLite 3.4.2
pysqlite 2.3.2
Genshi 0.4.4
mod_python 3.3.1
Pygments 0.9
Subversion 1.4.4 (r25188)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 419, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 196, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/revtree/web_ui.py", line 177, in process_request
    return self._process_revtree(req)
  File "build/bdist.linux-x86_64/egg/revtree/web_ui.py", line 300, in _process_revtree
    repos.build(self.bcre, revrange=(oldest, youngest))
  File "build/bdist.linux-x86_64/egg/revtree/model.py", line 320, in build
    chgset.build(bcre)
  File "build/bdist.linux-x86_64/egg/revtree/model.py", line 57, in build
    if not self._find_simple_branch(bcre):
  File "build/bdist.linux-x86_64/egg/revtree/model.py", line 86, in _find_simple_branch
    item = change_gen.next()
StopIteration


Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by anonymous

  • Component changed from TracHacks to RevtreePlugin
  • Owner changed from athomas to eblot

comment:2 Changed 6 years ago by eblot

  • Resolution set to worksforme
  • Status changed from new to closed

Sorry to get back so late. It would be useful to have the log of the repository to understand its structure.

Please re-open this ticket if the issue still occurs.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.