Open nzlosh opened 2 days ago
Ah interesting, looks like you have a race condition of sorts, I haven't seen that yet. Was it reproducible, or did it only happen once?
Looks like I could try using multiprocessing.Queue
instead of Manager().Queue()
and also add some better error handling, but regardless it would take a patch release to fix. In the mean time you can pin the extension or try running in serial mode for now (2.4.0 added parallel support).
Yes, it's reproducible, it occurs on every execution. It appears the documentation generation process we're using pulls in eventlet
(I didn't know this). After import, the below message is emitted:
1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules.
I suspect this is the cause of the exception so I'll try to investigate this further.
Possibly related issues https://github.com/gevent/gevent/issues/1808 and/or https://github.com/gevent/gevent/issues/1268
Linux Distribution
Python Version
Sphinx Version
Problem description
Versions of
sphinx-sitemap
priori to v2.4.0 generate the sitemap successfully as shown here with v2.3.0.All versions v2.4.0 and greater fail with the following exception
No changes other than upgrading from 2.3.0 to 2.4.0 were made. Any assistance on how to resolve this issue would be most appreciated.