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

When installed on Windows,it reports AttributeError: Values instance has no attribute 'character_level_inline_markup' #2

Open
NicolePP opened this issue Jan 23, 2018 · 0 comments

Comments

@NicolePP
Copy link

When I run ‘python setup.py install’ on Windows(ActivePython 2.7.13.2716), it reports an error as below:

Warning: '%s' not a legal ReST filename.
Traceback (most recent call last):
  File "D:\Applications\code\python27\txJSON-RPC-0.5\setup.py", line 27, in <module>
    out=True),
  File "D:\Applications\code\python27\txJSON-RPC-0.5\txjsonrpc\util\dist.py", line 121, in catReST
    report = validateReST(res)
  File "D:\Applications\code\python27\txJSON-RPC-0.5\txjsonrpc\util\dist.py", line 86, in validateReST
    return _validateReST(text)
  File "D:\Applications\code\python27\txJSON-RPC-0.5\txjsonrpc\util\dist.py", line 76, in _validateReST
    parser.parse(text, doc)
  File "F:\Python27\lib\site-packages\docutils\parsers\rst\__init__.py", line 185, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "F:\Python27\lib\site-packages\docutils\parsers\rst\states.py", line 157, in run
    inliner.init_customizations(document.settings)
  File "F:\Python27\lib\site-packages\docutils\parsers\rst\states.py", line 470, in init_customizations
    if settings.character_level_inline_markup:
AttributeError: Values instance has no attribute 'character_level_inline_markup'

I think a statement like 'doc.settings.character_level_inline_markup = True' should be added to the function _validateReST() in txjsonrpc/util/dist.py.

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

1 participant