Error creating local wiki copy

Hi. I am trying to create a local copy of the wiki.

Using these instructions: https://ardupilot.org/dev/docs/common-wiki-editing-setup.html

Specifically
sudo ./Sphinxsetup.sh
then
python update.py --site plane

  1. I got an error trying to run sudo ./Sphinxsetup.sh as root - but was able to run ./Sphinxsetup.sh

  2. Then running python update.py --site plane I get these errors:

# Sphinx version: 1.8.5

Python version: 3.8.5 (CPython)

Docutils version: 0.16 release

Jinja2 version: 2.10.1

Last messages:

done

checking consistency…

done

preparing documents…

done

writing output… [ 0%] docs/a-high-quality-bixler-1-1-build

writing output… [ 0%] docs/acro-mode

writing output… [ 0%] docs/advanced-failsafe-configuration

writing output… [ 0%] docs/airbrakes-on-plane

writing output… [ 0%] docs/airframe-believer

Loaded extensions:

sphinx.ext.mathjax (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/mathjax.py

alabaster (0.7.8) from /usr/lib/python3/dist-packages/alabaster/init.py

sphinx.ext.autodoc (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/autodoc/init.py

sphinx.ext.intersphinx (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/intersphinx.py

sphinx.ext.todo (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/todo.py

sphinx.ext.imgmath (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/imgmath.py

sphinx.ext.ifconfig (1.8.5) from /usr/lib/python3/dist-packages/sphinx/ext/ifconfig.py

sphinxcontrib.youtube (unknown version) from /home/andrew/.local/lib/python3.8/site-packages/sphinxcontrib/youtube/init.py

sphinxcontrib.vimeo (unknown version) from /home/andrew/.local/lib/python3.8/site-packages/sphinxcontrib/vimeo/init.py

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/sphinx/cmd/build.py”, line 304, in build_main
app.build(args.force_all, filenames)
File “/usr/lib/python3/dist-packages/sphinx/application.py”, line 341, in build
self.builder.build_update()
File “/usr/lib/python3/dist-packages/sphinx/builders/init.py”, line 345, in build_update
self.build(to_build,
File “/usr/lib/python3/dist-packages/sphinx/builders/init.py”, line 412, in build
self.write(docnames, list(updated_docnames), method)
File “/usr/lib/python3/dist-packages/sphinx/builders/init.py”, line 593, in write
self._write_serial(sorted(docnames))
File “/usr/lib/python3/dist-packages/sphinx/builders/init.py”, line 604, in _write_serial
self.write_doc(docname, doctree)
File “/usr/lib/python3/dist-packages/sphinx/builders/html.py”, line 731, in write_doc
self.docwriter.write(doctree, destination)
File “/usr/lib/python3/dist-packages/docutils/writers/init.py”, line 78, in write
self.translate()
File “/usr/lib/python3/dist-packages/sphinx/writers/html.py”, line 58, in translate
self.document.walkabout(visitor)
File “/usr/lib/python3/dist-packages/docutils/nodes.py”, line 214, in walkabout
if child.walkabout(visitor):
File “/usr/lib/python3/dist-packages/docutils/nodes.py”, line 214, in walkabout
if child.walkabout(visitor):
File “/usr/lib/python3/dist-packages/docutils/nodes.py”, line 206, in walkabout
visitor.dispatch_visit(self)
File “/usr/lib/python3/dist-packages/docutils/nodes.py”, line 1994, in dispatch_visit
% (method.name, node_name))
AttributeError: ‘functools.partial’ object has no attribute ‘name

And the local copy is not built.

Any thoughts?

Sorted with the help of the team!