-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Symbolator is not working with Sphinx 4.x.
>>> import symbolator_sphinx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/symbolator_sphinx/__init__.py", line 1, in <module>
from .symbolator_sphinx import *
File "/usr/local/lib/python3.8/site-packages/symbolator_sphinx/symbolator_sphinx.py", line 33, in <module>
from sphinx.util.osutil import ensuredir, ENOENT, EPIPE, EINVAL
ImportError: cannot import name 'ENOENT' from 'sphinx.util.osutil' (/usr/local/lib/python3.8/site-packages/sphinx/util/osutil.py)
It should be possible to fix this error.
The line in: https://github.com/kevinpt/symbolator/blob/master/symbolator_sphinx/symbolator_sphinx.py#L33
must be changed to: from errno import ENOENT, EPIPE, EINVAL
missinglinkelectronics/sphinxcontrib-svg2pdfconverter@252a0b0
Metadata
Metadata
Assignees
Labels
No labels