= 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 ==
 * TOC or uid_generator

== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## [[attachment:traceback.html]]

## if the bug is in this wiki, just kill the table and write: This Wiki.

## If a traceback is not available, please fill in the details here:
|| '''!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 ==
## How to deal with the bug until it is fixed


= Discussion =


= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: 

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBug