brechtm / rinohtype

The Python document processor
http://www.mos6581.org/rinohtype
GNU Affero General Public License v3.0
498 stars 59 forks source link

Problems after updating Sphinx #376

Closed techauthoruk closed 1 year ago

techauthoruk commented 1 year ago

Is there an existing issue for this?

PDF produced by rinohtype

PDF appears ok

Source files

After updating my install to the latest Sphinx version, I get these errors when running make rinoh:

Running Sphinx v6.0.0b3
making output directory... done
loading pickled environment... failed
failed: Can't get attribute '_stable_repr_object' on <sphinx.deprecation._ModuleWrapper object at 0x7f32a02e6080>

as far as I can tell, the pdf appears to be created successfully, so this may be a trivial issue.

Versions

rinohtype 0.5.5 (in development)
Sphinx 6.0.0b3
Python 3.10.6 (main, Aug 10 2022, 11:40:04) [GCC 11.3.0]
Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.35
brechtm commented 1 year ago

I think this one is not related to rinohtype. Sphinx caches some data in a pickle file. Sometimes, if Sphinx internals change, the new version cannot use the pickle file created by the older version.