Exception occurred:
File "c:\programs\python\lib\site-packages\docutils\parsers\rst__init__.py", line 196, in parse
if len(line) > self.document.settings.line_length_limit:
AttributeError: 'Values' object has no attribute 'line_length_limit'
Thank you for reporting a problem with Docutils.
Similarities to other reports (https://github.com/readthedocs/recommonmark/issues/220, https://github.com/sphinx-doc/sphinx/issues/3951) suggest this is due to a version incompatibility and inproper setup¹ of document.settings in the recommonmark parser.
¹ The docstring in utils.new_document() states since 2010:
If you will use the document object with any Docutils components,
you must provide their default settings as well. ...
and provides an example on how to achieve this automatically.
Since revision 8671 (2021-04-07), Docutils provides fallbacks for parser config settings.
This way, missing parser settings will not lead to errors.
Please check if this solves your problem, if not, please provide a more detail.
Last edit: Günter Milde 2021-04-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for reporting a problem with Docutils.
Similarities to other reports (https://github.com/readthedocs/recommonmark/issues/220, https://github.com/sphinx-doc/sphinx/issues/3951) suggest this is due to a version incompatibility and inproper setup¹ of
document.settingsin the recommonmark parser.¹ The docstring in
utils.new_document()states since 2010:and provides an example on how to achieve this automatically.
Since revision 8671 (2021-04-07), Docutils provides fallbacks for parser config settings.
This way, missing parser settings will not lead to errors.
Please check if this solves your problem, if not, please provide a more detail.
Last edit: Günter Milde 2021-04-14
thanks yeh I'll check it out 👍
now fixed for myst-paser thanks
Fixed in 0.17.1. Thank you for the report.