jdillard / sphinx-sitemap

Sphinx extension to generate a multi-lingual, multi-version sitemap for HTML builds
https://sphinx-sitemap.readthedocs.io/en/latest/index.html
MIT License
55 stars 21 forks source link

loading pickled environment is failed, possibly because using `multiprocessing.Manager` #67

Closed thawatchai closed 1 year ago

thawatchai commented 1 year ago

I initially reported this issue in the sphinx-doc repository (https://github.com/sphinx-doc/sphinx/issues/11463), but upon further investigation, I've come to realize that the error might stem from an extension. I've narrowed down the culprit to sphinx-sitemap, which utilizes multiprocessing.Manager.

It appears that the code leveraging multiprocessing.Manager cannot be pickled.

Any insights or solutions would be greatly appreciated. Thank you!

jdillard commented 1 year ago

The latest release (2.5.1) should have the fix for that if you want to give a try and confirm: https://github.com/jdillard/sphinx-sitemap/releases/tag/v2.5.1

Closing the issue, re-open if it isn't resolved.