Firstly, this is a really useful tool, and a timely discovery for me. Thanks.
For a function that outputs the unicode symbol for degrees an error is raised
File ".../opt/miniconda3/envs/dev/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 2146, in run_directive
result = directive_instance.run()
File ".../opt/miniconda3/envs/dev/lib/python3.8/site-packages/sphinx_autorun/__init__.py", line 73, in run
out = stdout.decode(output_encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 186: ordinal not in range(128)
I hacked the offending line, changing 'ascii' to 'UTF-8' and that works fine.
Looking at doing this nicely in conf.py I would have thought that adding
Firstly, this is a really useful tool, and a timely discovery for me. Thanks.
For a function that outputs the unicode symbol for degrees an error is raised
I hacked the offending line, changing 'ascii' to 'UTF-8' and that works fine.
Looking at doing this nicely in
conf.py
I would have thought that addingwould do the trick, but I get
It looks like
setup()
makes this available, so now I'm confused. All other sphinx extensions and their configuration are working just fine.It would be good to document this encoding option.