Modify

Opened 18 years ago

Closed 18 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 18 years ago by simon

Priority: highnormal
Resolution: worksforme
Severity: criticalnormal
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.