Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: Values instance has no attribute 'tab_width' #96

Open
multimeric opened this issue May 23, 2018 · 2 comments
Open

AttributeError: Values instance has no attribute 'tab_width' #96

multimeric opened this issue May 23, 2018 · 2 comments

Comments

@multimeric
Copy link

When using sphinx-argparse, in Sphinx versions 1.7 and above, I get the following exception on build:

Exception occurred:
  File "/home/michael/Programming/GenovicAnalysis/venv/local/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 189, in parse
    inputstring, tab_width=document.settings.tab_width,
AttributeError: Values instance has no attribute 'tab_width'
The full traceback has been saved in /tmp/sphinx-err-Xwi3_K.log, if you want to report the issue to the developers.

This goes away if I downgrade Sphinx to 1.6.X, or if I remove the 'sphinxarg.ext' line from my extensions, so it's obviously caused by this module.

@multimeric
Copy link
Author

Full traceback: sphinx-err-Xwi3_K.log

@dpryan79
Copy link
Collaborator

You'll need to post the file that's being rendered, this appears to be an issue in it rather than sphinx-argparse itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants