Opened 6 years ago

# Error: Page tree does not exist

Reported by: Owned by: christoph.ruediger@… normal TocMacro normal 0.12

## Description

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?

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>
[EOF]


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

[components]
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 =

- [wiki:MHC]
- [wiki:MHC/EMF]

• MHC
= Detail page for MHC =

• MHC/EMF
= What's the EMF? =

• MHC/EMFRelease
= What to do with an EMF release? =

Step 1, 2, 3, ...


### Changed 6 years ago by christoph.ruediger@…

Screenshot of the error message.

### comment:1 Changed 6 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

/trac/wiki#WhatstheEMF
/trac/wiki#WhattodowithanEMFrelease


But the correct links to the pages should be

/trac/wiki/MHC/EMF#WhatstheEMF
/trac/wiki/MHC/EMFRelease#WhattodowithanEMFrelease


### comment:2 Changed 3 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

### Modify Ticket

Change Properties