Opened 3 years ago

Last modified 3 years ago

#9262 new defect

Error: Page tree does not exist

Reported by: christoph.ruediger@… Owned by: coderanger
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12



Inside every yellow TOC block there is a red square at the bottom containing the error message "Error: Page tree does not exist". The yellow TOC block gets updated every time a change in the wiki occurs, so it seems to work properly on the main focus.

A screenshot is attached.

But what does the error message mean? And, more urgent, how to get rid of it?

Additional information

In the logs on DEBUG level I can find only one line with respect to the TocMacro:

2011-10-13 12:21:52,674 Trac[formatter] DEBUG: Executing Wiki macro TOC by provider <tractoc.macro.TOCMacro object at 0x2afe7e0665d0>

I can reproduce this behaviour in a new trac environment where only the TocMacro is enabled:

tractoc.* = enabled

The only difference to a complete default installation is, that I use MySQL as the DB backend.

My clean demo environment contains only the default wiki pages generated by the initenv command and the following modified/added demo pages:

  • WikiStart
    = MHC =
    [[TOC(MHC/*, tree, heading=Navigation)]]
    Short links:
     - [wiki:MHC]
     - [wiki:MHC/EMF]
  • MHC
    = Detail page for MHC =
    = What's the EMF? =
  • MHC/EMFRelease
    = What to do with an EMF release? =
    Step 1, 2, 3, ...

Attachments (1)

Screenshot.PNG (2.0 KB) - added by christoph.ruediger@… 3 years ago.
Screenshot of the error message.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by christoph.ruediger@…

Screenshot of the error message.

comment:1 Changed 3 years ago by christoph.ruediger@…

Currently I recognized that the generated links in the TOC block are sometimes wrong. I don't know how to reproduce this behaviour constantly.

Relating to the demo project above, the generated links are


But the correct links to the pages should be


Add Comment

Modify Ticket

as new The owner will remain coderanger.

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

Note: See TracTickets for help on using tickets.