Modify

Opened 8 years ago

Closed 8 years ago

#1102 closed defect (worksforme)

Crash on trac 0.10.3 / python 2.4

Reported by: ylandrin.spam.me.not.@… Owned by: simon
Priority: normal Component: TreeViewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Page code:

+-/usr/share/trac/
+-/usr/share/trac/templates
+-/usr/share/trac/cgi-bin
+-/usr/share/trac/wiki-default
+-/usr/share/trac/htdocs
+-/usr/share/trac/htdocs/css
+-/usr/share/trac/htdocs/js
+-/usr/share/trac/wiki-macros
--

TraceBack:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 111, in process_request
    self._render_editor(req, db, page, preview=True)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 385, in _render_editor
    info['page_html'] = wiki_to_html(page.text, self.env, req, db)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 999, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 822, in format
    result = re.sub(self.wiki.rules, self.replace, line)
  File "/usr/lib/python2.4/sre.py", line 142, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 768, in replace
    replacement = self.handle_match(fullmatch)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 761, in handle_match
    return external_handler(self, match, fullmatch)
  File "build/bdist.linux-i686/egg/treeview/treeview.py", line 377, in <lambda>
  File "build/bdist.linux-i686/egg/treeview/treeview.py", line 285, in _modify_tree
  File "build/bdist.linux-i686/egg/treeview/treeview.py", line 348, in create_nodes
  File "build/bdist.linux-i686/egg/treeview/treeview.py", line 361, in add_nodelist
IndexError: list index out of range

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by simon

  • Priority changed from high to normal
  • Resolution set to worksforme
  • Severity changed from critical to normal
  • Status changed from new to closed

Works fine for me. Can you provide any other relevant info?

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.