id summary reporter owner description type status priority component severity resolution keywords cc release 1201 Macro error when depth=X is used. verm Christian Boos "I'm currently running head and I've updated to the latest (0.11) version of TocMacro, any page that uses the depth=X parameter gives me this error: {{{ Error: Macro TOC(inline, heading=Table of Contents, Timing, depth=3) failed list assignment index out of range }}} Here's the line I'm using to call it: {{{ [[TOC(inline, heading=Table of Contents, Timing, depth=3)]] }}} And DEBUG information from the trac log file: {{{ 2007-02-09 12:37:48,321 Trac[formatter] DEBUG: Executing Wiki macro TOC by provider 2007-02-09 12:37:48,462 Trac[formatter] ERROR: Macro TOC(inline, heading=Table of Contents, Timing, depth=3) failed Traceback (most recent call last): File ""/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 454, in _macro_formatter return macro.process(args, in_paragraph=True) File ""/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 128, in process text = self.processor(text) File ""/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 115, in _macro_processor text) File ""build/bdist.freebsd-5.3-STABLE-i386/egg/tractoc/macro.py"", line 142, in expand_macro File ""build/bdist.freebsd-5.3-STABLE-i386/egg/tractoc/macro.py"", line 186, in _render_page_outline File ""build/bdist.freebsd-5.3-STABLE-i386/egg/tractoc/macro.py"", line 41, in outline_tree IndexError: list assignment index out of range }}} This is python 2.4.2, mod_python 3.1.4 and apache 2.0.55" defect closed normal TocMacro major fixed trachacks@… 0.11