Skip to content

Blog plugin fails on standalone setup #5879

@Andre601

Description

@Andre601

Context

No response

Bug description

After updating MkDocs-material from 9.2.0b2 to 9.2.0 today did mkdocs build fail with a stacktrace.
I sadly cannot understand what it points towards nor what it means, but it seems to be related to the blog plugin as commenting it out in the mkdocs.yml builds the site as expected.

Full stacktrace: https://paste.helpch.at/epopumuceb.lua

First I thought this might be an error due to changes to the .authors.yml file which mkdocs-material did report properly, but after fixing those is the issue still persisting.

The documentation is build using Woodpecker-CI by setting up a Python Image (Python 3.11 by the looks of it) and the executing pip install -r requirements.txt followed by mkdocs build. Tho local reproduction tests also show the same errors, so it's unlikely to be bound to the env or software used.

For transparency, here are files and logs related to the failed CI runs:

Related links

Reproduction

mkdocs-2.9.0-build-errors.zip

Steps to reproduce

  1. Download mkdocs-material 2.9.0
  2. Setup mkdocs.yml with bare-bones settings and blog plugin configuration
  3. Create post folder and blog post file
  4. Run mkdocs serve or mkdocs build

Browser

Firefox

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions