Replacing the Markdown Reader throws (near) endless warnings
Author: minchinwebCreated May 5, 2025Updated Sep 13, 2026
Labelsbug
- I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
- [-] I can reproduce this problem with stock/default settings file, theme, and sample content (as described in above “How to Get Help” sections of the documentation).
- I expect this will still be an issue with the default theme, but I haven't actually tested. This only gets thrown with a plugin (a reader).
- I have searched the issues (including closed ones) and believe that this is not a duplicate.
- OS version and name: Windows 10
- Python version: Python 3.13.3
- Pelican version: Pelican 4.11.0
- Link to theme: Seafoam
- Links to plugins: https://github.com/minchinweb/minchin.pelican.readers.commonmark
- Link to your site: n/a
- Link to your source: https://github.com/minchinweb/minchin.pelican.readers.commonmark/tree/master/test
- Link to a Gist with the contents of your settings file: https://github.com/minchinweb/minchin.pelican.readers.commonmark/blob/master/test/pelicanconf.py
Issue
If I replace the Markdown reader with my own, the old (disabled) Markdown reader will print a warning for every Markdown file in my content. Example output:
$ pelican
[18:31:10] WARNING Feeds generated without SITEURL set properly settings.py:679
may not be valid
WARNING [CommonMark] Don't know what to do with link __init__.py:69
target "#id-goes-here".
WARNING .\markdown-test.md: Could not import readers.py:698
'markdown.Markdown'. Have you installed the
'markdown' package?
WARNING .\tag-only-lines.md: Could not import readers.py:698
'markdown.Markdown'. Have you installed the
'markdown' package?
WARNING .\no-title.md: Could not import readers.py:698
'markdown.Markdown'. Have you installed the
'markdown' package?
WARNING .\frontmatter.md: Could not import readers.py:698
'markdown.Markdown'. Have you installed the
'markdown' package?
WARNING .\checkbox-test.md: Could not import readers.py:698
'markdown.Markdown'. Have you installed the
'markdown' package?
Done: Processed 5 articles, 0 drafts, 0 hidden articles, 0 pages, 0 hidden pages
and 0 draft pages in 0.92 seconds.With thousands of source files, it gets a little crazy, and impossible to find "real" issues. Ideally, there should be a way to silence these warning as they don't apply.
Source: getpelican/pelican