#3460·pelican

Pelican 4.9+ does not copy single image - all others copy as expected

Author: AWegnerGitHubCreated Apr 6, 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 have searched the issues (including closed ones) and believe that this is not a duplicate.

  • OS version and name: GitHub Pages

  • Python version: 3.10

  • Pelican version: 4.9+

  • Link to theme: Modified Version of Flex Theme

  • Links to plugins: ["series", "extract_toc", "neighbors", "keyboard", "extended_sitemap"]

  • Link to your site: https://andrewwegner.com/ (CURRENTLY RUNNING 4.8 DUE TO THIS BUG)

  • Link to your source: https://github.com/AWegnerGitHub/awegnergithub.github.io-content

  • Link to a Gist with the contents of your settings file:

Issue

Pelican 4.9, 4.10 and 4.11 all report this error with a single image:

 WARNING A problem occurred copying file log.py:89
/home/runner/work/awegnergithub.github.io-content/awegnergithub.github.io-content/source/content/images/wegner_headshot.png to /home/runner/work/awegnergithub.github.io-content/awegnergithub.github.io-content/source/output/images; [Errno 21] Is a directory:
'/home/runner/work/awegnergithub.github.io-content/awegnergithub.github.io-content/source/output/images'

And fails to copy the image as expected.

In Pelican 4.8, this image is copied and loads as expected.

GitHub Actions Logs: https://github.com/AWegnerGitHub/awegnergithub.github.io-content/actions/runs/14296901644/job/40065265606

  • Build 1 is Pelican 4.11 (upgrade from 4.8 attempt - Headshot does not load on final build)
  • Build 2 is Pelican 4.8 (revert to 4.8 - Headshot loads as expected again)
  • Build 3 (I don't remember what version this is - Does not work)
  • Build 4 (Pelican 4.9 - Same result, headshot image does not load)
  • Build 5 (Final revert to 4.8 to ensure the headshot loads on live page)

In the builds that failed, I did not see any other missing images during checks.

Full build script: https://github.com/AWegnerGitHub/awegnergithub.github.io-content/blob/master/.github/workflows/deploy.yml (No changes to this script in 9 months)

Builds are triggered on push to the -content repo. It pulls in the -source and finally pushes the final build to the GitHub pages repo.