Description

Found this in server logs, circumstances unclear.

2009-11-17 08:44:24,386 MoinMoin.macro ERROR Macro TableOfContents (page: 'FeatureRequests/JHotDrawSupport') raised an except
ion:
Traceback (most recent call last):
  File "/srv/moin/code/1.9/MoinMoin/macro/__init__.py", line 121, in execute
    return execute(self, args)
  File "/srv/moin/code/1.9/MoinMoin/macro/__init__.py", line 106, in <lambda>
    _self.request, call, _args, [_self])
  File "/srv/moin/code/1.9/MoinMoin/wikiutil.py", line 1925, in invoke_extension_function
    return function(*fixed_args, **kwargs)
  File "/srv/moin/code/1.9/MoinMoin/macro/TableOfContents.py", line 150, in macro_TableOfContents
    macro.request.uid_generator.push()
  File "/srv/moin/code/1.9/MoinMoin/web/utils.py", line 167, in push
    self.include_id, pids = self.include_stack[-1]
IndexError: list index out of range

Steps to reproduce

unknown, visiting that page does not produce a traceback

Component selection

Details

MoinMoin Version

1.9.0 (maybe also older moin versions?)

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/TableOfContents_uid_generator_crashing (last edited 2010-01-09 00:07:07 by ThomasWaldmann)