Skip to content

v0.6.0_ Error when used with newer mdbook (e.g. v0.5.1) #194

Open

Description

@Hoffenbar

If I try to build my otherwise unchanged book with mdbook v0.5.1 and tera 0.6.0, I get this error:

Unable to parse the input                                                                             
                                                                                                      
Caused by:                                                                                            
    invalid type: null, expected any valid TOML value at line 1 column 143                            
 WARN Error writing the RenderContext to the backend, Die Pipe wird gerade geschlossen. (os error 232)
ERROR The "tera" preprocessor exited unsuccessfully with exit code: 1 status 

Activity

  1. stevecheckoway commented on Jan 28, 2026

    @stevecheckoway

    @Hoffenbar mdbook version 0.5 introduced breaking changes to preprocessors. All of the preprocessors, including mdbook-tera, need to be updated. Here's the version 0.5 migration guide.

    In the mean time, I recommend using mdbook version 0.4.52.

  2. Hoffenbar commented on Jan 29, 2026

    @Hoffenbar
    Author

    Yes, that´s what i'm doing actually.....

  3. stevecheckoway commented on Jan 29, 2026

    @stevecheckoway

    This was actually surprisingly easy to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions