Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6666 closed defect (wontfix)

IndexError: list index out of range

Reported by: kelvin@… Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version:
Severity: normal Keywords: plugin
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I get this error whenever I load the main page of the Wiki.

Any idea what is going wrong here?

Python Traceback Most recent call last: File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 398, in _dispatch_request Code fragment:

try: if not env and env_error: raise HTTPInternalError(env_error) try: dispatcher = RequestDispatcher(env)

dispatcher.dispatch(req)

except RequestDone: pass resp = req._response or [] 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 0x06ADE230> e <exceptions.IndexError instance at 0x06BBA0D0> env <trac.env.Environment object at 0x06ADEA50> env_error None exc_info (<class exceptions.IndexError at 0x00F74B40>, <exceptions.IndexError … filename 'C:
Program Files
Python24
Lib
site-packages
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 0x06BBA170> tb_hide None traceback 'Traceback (most recent call last):\n File "C:
Program …

File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 206, in dispatch Code fragment:

# Give the session a chance to persist changes if req.session: req.session.save() req.display(template, content_type or 'text/html') else: # Genshi

template, data, content_type = \

self._post_process_request(req, *resp) if 'hdfdump' in req.args: req.perm.require('TRAC_ADMIN') # debugging helper - no need to render first from pprint import pprint

Local variables:

Name Value chosen_handler <trac.wiki.web_ui.WikiModule object at 0x06AE4190> chrome <trac.web.chrome.Chrome object at 0x06ADD0B0> e <exceptions.IndexError instance at 0x06BBA0F8> err (<class exceptions.IndexError at 0x00F74B40>, <exceptions.IndexError … handler <revtree.web_ui.RevtreeModule object at 0x06AE4230> req <Request "GET u"> resp ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': … self <trac.web.main.RequestDispatcher object at 0x06ADE230>

File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 294, in _post_process_request Code fragment:

resp = args for f in reversed(self.filters): arity = f.post_process_request.func_code.co_argcount - 2 if nbargs: if arity == nbargs:

resp = f.post_process_request(req, *resp)

else: resp = f.post_process_request(req, *(None,)*arity) return resp

Local variables:

Name Value args ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': … arity 3 f <revtree.web_ui.RevtreeModule object at 0x06AE4230> nbargs 3 req <Request "GET u"> resp ('wiki_view.html', {'templates': [], 'attachments': {'attach_href': … self <trac.web.main.RequestDispatcher object at 0x06ADE230>

File "build\bdist.win32\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 0x06AE4230> template 'wiki_view.html' url_parts [u] File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 398, in _dispatch_request

dispatcher.dispatch(req)

File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 206, in dispatch

template, data, content_type = \

File "C:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 294, in _post_process_request

resp = f.post_process_request(req, *resp)

File "build\bdist.win32\egg\revtree\web_ui.py", line 158, in post_process_request

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 17 years ago

Keywords: plugin added
Resolution: wontfix
Status: newclosed

This looks like an issue with the th:RevtreePlugin at the first glance.

Please report this issue to the plugin maintainer (that would be me ;-)) on the plugin web site, that is http://trac-hacks.org

Do not forget to copy and paste the traceback, but please take care to use verbatim block ({{{ }}}) as the traceback you've copied is mostly unreadable.

in reply to:  1 comment:2 by Emmanuel Blot, 17 years ago

Replying to eblot:

but please take care to use verbatim block ({{{ }}}) as the traceback you've copied is mostly unreadable.

See also if you can copy and paste the text version of the traceback, not the pretty formatted one and report the version of Trac you use, including the SVN revision if you're using a development release.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.