I saw a couple of ssh related changes I wanted to make and tried building the docs for the first time in a long time. sphinx chews it, log appended. I think I meet docs/source/requirements.txt: m2r docutils<0.18 mistune<2.0.0 as I have: py38-m2r-0.2.1_1 py38-docutils-0.17.1,1 py38-mistune-0.8.4 Hopefully it's obvious what I'm doing wrong? Craig # Sphinx version: 4.3.1 # Python version: 3.8.12 (CPython) # Docutils version: 0.17.1 release # Jinja2 version: 3.0.1 # Last messages: # Loaded extensions: Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 276, i n build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 237, in __init__ self.setup_extension(extension) File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 394, in setup_extension self.registry.load_extension(self, extname) File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 442, in load_extension metadata = setup(app) File "/usr/local/lib/python3.8/site-packages/m2r.py", line 652, in setup app.add_source_parser('.md', M2RParser) File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 1186 , in add_source_parser self.registry.add_source_parser(parser, override=override) File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 273, in add_source_parser for filetype in parser.supported: AttributeError: 'str' object has no attribute 'supported'
What version of m2r and mistune do you have? I have: m2r 0.2.1 mistune 0.8.4 Regards, Mark.
On 8 Feb 2022, at 6:11 AM, Craig Leres <leres@xse.com> wrote:
I saw a couple of ssh related changes I wanted to make and tried building the docs for the first time in a long time. sphinx chews it, log appended.
I think I meet docs/source/requirements.txt:
m2r docutils<0.18 mistune<2.0.0
as I have:
py38-m2r-0.2.1_1 py38-docutils-0.17.1,1 py38-mistune-0.8.4
Hopefully it's obvious what I'm doing wrong?
Craig
# Sphinx version: 4.3.1 # Python version: 3.8.12 (CPython) # Docutils version: 0.17.1 release # Jinja2 version: 3.0.1 # Last messages:
# Loaded extensions: Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 276, i n build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 237, in __init__ self.setup_extension(extension) File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 394, in setup_extension self.registry.load_extension(self, extname) File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 442, in load_extension metadata = setup(app) File "/usr/local/lib/python3.8/site-packages/m2r.py", line 652, in setup app.add_source_parser('.md', M2RParser) File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 1186 , in add_source_parser self.registry.add_source_parser(parser, override=override) File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 273, in add_source_parser for filetype in parser.supported: AttributeError: 'str' object has no attribute 'supported' _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
On 2/7/22 14:11, Craig Leres wrote:
I saw a couple of ssh related changes I wanted to make and tried building the docs for the first time in a long time. sphinx chews it, log appended.
I think I meet docs/source/requirements.txt:
m2r docutils<0.18 mistune<2.0.0
as I have:
py38-m2r-0.2.1_1 py38-docutils-0.17.1,1 py38-mistune-0.8.4
Hopefully it's obvious what I'm doing wrong?
I think my problem is that the FreeBSD port for sphinx is too new, it's now at 4.3.1 (it was 3.5.2 up until November). I dusted off and booted my ubuntu 18.04 ssd but couldn't find a python3 version of m2r so I upgraded to 20.04, installed a few things, and I can build html docs there with sphinx 1.8.5, m2r 0.2.1, docutils 0.16, and mistune 0.8.4. Craig
participants (2)
-
Craig Leres -
Mark Webb-Johnson