]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/conf.py: run ditaa with java 48906/head
authorKefu Chai <kchai@redhat.com>
Sun, 1 Aug 2021 17:41:47 +0000 (01:41 +0800)
committerZac Dover <zac.dover@gmail.com>
Wed, 16 Nov 2022 08:21:43 +0000 (18:21 +1000)
commit583076a9a0929b79d0a9711f49d45e376248991c
tree35385ba87897c893b4be36208164eaa84208b027
parent25cedaa911926b25b1f66ad8b72724e7d1bcf3bd
doc/conf.py: run ditaa with java

just in case, otherwise we could have

  File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/42577/lib/python3.8/site-packages/sphinxcontrib/ditaa.py", line 200, in html_visit_ditaa
    render_ditaa_html(self, node, node['code'], node['options'])
  File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/42577/lib/python3.8/site-packages/sphinxcontrib/ditaa.py", line 177, in render_ditaa_html
    fname, outfn = render_ditaa(self, code, options, prefix)
  File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/42577/lib/python3.8/site-packages/sphinxcontrib/ditaa.py", line 141, in render_ditaa
    p = Popen(ditaa_args, stdout=PIPE, stdin=PIPE, stderr=PIPE)
  File "/home/docs/.pyenv/versions/3.8.6/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/docs/.pyenv/versions/3.8.6/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/usr/bin/ditaa'

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 02e7acc3761187c6251cd63ad16a8c7e7daefd9a)
doc/conf.py