Modify

Opened 7 years ago

Closed 6 years ago

#2718 closed defect (worksforme)

Error from Revtree plugin

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

Description

After installing revTree plugin I Get an error: Plugin version - TracRevtreePlugin 0.5.14dev-r3274

Trac detected an internal error:

IndexError: list index out of range

If you think this should work you can reproduce the problem, you should consider reporting this to the Trac team.

Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac, please try the mailing list instead of filing a ticket.

Otherwise, please ==== How to Reproduce ==== While doing a GET operation on , Trac issued an internal error. (please provide additional details here) ==== System Information ====
Trac 0.11b1 Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
setuptools 0.6c7 SQLite 3.4.2 pysqlite 2.3.3 Genshi 0.4.4 Pygments 0.9 Subversion 1.4.4 (r25188) ==== Python Traceback ==== Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 207, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 294, in _post_process_request resp = f.post_process_request(req, *resp) File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 158, in post_process_request if (url_parts > 1) and (url_parts[1] in self.contexts): IndexError: list index out of range a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it.

Python Traceback Most recent call last:

  • File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request Code fragment:
    1. try:
    2. if not env and env_error:
    3. raise HTTPInternalError(env_error)
    4. try:
    5. dispatcher = RequestDispatcher(env)
    6. dispatcher.dispatch(req)
    7. except RequestDone:
    8. pass
    9. resp = req._response or []
    10. except HTTPException, e:
    Local variables: Name Value after [' except RequestDone:', ' pass', ' resp = ... before [' try:', ' if not env and env_error:', ' raise ... dispatcher <trac.web.main.RequestDispatcher object at 0xb979564c> e IndexError('list index out of range',) env <trac.env.Environment object at 0xb96ba90c> env_error None exc_info (<type 'exceptions.IndexError'>, IndexError('list index out of range',), ... filename '/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py' frames [{'function': '_dispatch_request', 'lines_before': [' try:', ' ... has_admin True line ' dispatcher.dispatch(req)' lineno 397 message u'IndexError: list index out of range' req <Request "GET u"> resp [] tb <traceback object at 0xb98d520c> tb_hide None traceback 'Traceback (most recent call last):\n File ...
  • File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 207, in dispatch Code fragment:
    1. if req.session:
    2. req.session.save()
    3. req.display(template, content_type or 'text/html')
    4. else: # Genshi
    5. template, data, content_type = \
    6. self._post_process_request(req, *resp)
    7. if 'hdfdump' in req.args:
    8. req.perm.require('TRAC_ADMIN')
    9. # debugging helper - no need to render first
    10. from pprint import pprint
    11. out = StringIO()
    Local variables: Name Value chosen_handler <trac.wiki.web_ui.WikiModule object at 0xb9794a0c> chrome <trac.web.chrome.Chrome object at 0xb979510c> e IndexError('list index out of range',) err (<type 'exceptions.IndexError'>, IndexError('list index out of range',), ... handler <traccc.traccc.CruiseControlPlugin object at 0xb9794e0c> req <Request "GET u"> resp ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': ... self <trac.web.main.RequestDispatcher object at 0xb979564c>
  • File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 294, in _post_process_request Code fragment:
    1. resp = args
    2. for f in reversed(self.filters):
    3. arity = f.post_process_request.func_code.co_argcount - 2
    4. if nbargs:
    5. if arity == nbargs:
    6. resp = f.post_process_request(req, *resp)
    7. else:
    8. resp = f.post_process_request(req, *(None,)*arity)
    9. return resp
    Local variables: Name Value args ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': ... arity 3 f <revtree.web_ui.RevtreeModule object at 0xb979452c> nbargs 3 req <Request "GET u"> resp ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': ... self <trac.web.main.RequestDispatcher object at 0xb979564c>
  • File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 158, in post_process_request Local variables: Name Value content_type None data {'templates': [], 'attachments': {'attach_href': ... req <Request "GET u"> self <revtree.web_ui.RevtreeModule object at 0xb979452c> template 'wiki_view.html' url_parts [u]

File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 207, in dispatch

self._post_process_request(req, *resp)

File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 294, in _post_process_request

resp = f.post_process_request(req, *resp)

File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 158, in post_process_request

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by eblot

  • Resolution set to worksforme
  • Status changed from new to closed
  • Trac Release changed from 0.10 to 0.11

Please re-open this ticket if the problem still occurs, and with a readable traceback and a description of your repository.

Add Comment

Modify Ticket

Action
as closed The owner will remain eblot.
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.