Open CJxD opened 6 years ago
Just installed Sphinx and some extensions today, and I am hitting this issue:
Exception occurred:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/sphinx/registry.py", line 472, in load_extension
mod = __import__(extname, None, None, ['setup'])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/sphinxcontrib/osexample.py", line 136
get_lexer_by_name('ubuntu')
^
TabError: inconsistent use of tabs and spaces in indentation
Update I was able to "fix" this issue locally by copying the osexample.py file from this repo and putting that in my /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/sphinxcontrib/ folder.
Hey I noticed that this issue has been fixed here in the repo but an updated version hasn't been pushed to pypi which is breaking for any pip installs.
Hello, I used sphinx 7.2.6 / Python 3.9.0 and I added the extension sphinxcontrib-osexample (0.1.1). I experienced the same issue.
Hey I noticed that this issue has been fixed here in the repo but an updated version hasn't been pushed to pypi which is breaking for any pip installs.
Exactly!
would be good to find a more attentive contributor to take care of the loose ends.
I know I'm a little late, but it still aint on pypi yet... Who has the PyPI token?
A patch is available in pull request #6