[daisy] (An error occured while generating the navigation tree)

Bruno Dumon bruno at outerthought.org
Thu Jul 13 04:48:25 CDT 2006


On Thu, 2006-07-13 at 10:08 +0100, bob flynn wrote:
> Hi,
> 
> I am attempting to debug this error message.
> 
> "(An error occured while generating the navigation tree)"
> 
> I am seeing this for one wiki, bug not all, and am trying to narrow
> down the cause.
> 
> When it occurs,
> 
> nothing is logged in the daisydata/logs/ daisy-<date> or
> daisy-request-errors-<date> log files
> 

I've had a look, the error is only logged at 'debug' level (in which
case it would appear in daisy-request-errors), of course this isn't of
much use on a production installation. I've now changed it to log the
error at 'error' level, so in future Daisy versions it will be easier to
spot.

> I do see the following stackdump, but I do not know how to translate
> the dump information to somewhere to look or narrow the cause.
> 
> So I see;

> Error
> Error in NavigationManager.
> Error building navigation tree.
> Error building navigation tree.
> Error building navigation tree.
> Document Variant: document ID 720, branch ID 1, language ID 1
> (version: 10) does not contain a part from which a navigation tree can
> be build.

This error means exactly what it says: you're using a document as
navigation tree, but it doesn't contain a navigation tree (either a
NavigationDescription part or a BookDefinitionDescription part).

This is either about the document specified as navigation tree in the
siteconf.xml, or in an 'import' node in the navigation tree. For the
latter case it would be better to insert an error node so that not the
complete navigation tree fails. I'll have a look at this too.

<snipped stack trace/>

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list