<div dir="ltr"><div dir="ltr">On Fri, Sep 25, 2020 at 5:35 PM Daniel P. Berrangé <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Sep 25, 2020 at 05:31:09PM +0800, Wei Wang wrote:<br>
> On Fri, Sep 25, 2020 at 5:24 PM Andrea Bolognani <<a href="mailto:abologna@redhat.com" target="_blank">abologna@redhat.com</a>><br>
> wrote:<br>
> <br>
> > On Fri, 2020-09-25 at 10:16 +0100, Daniel P. Berrangé wrote:<br>
> > > On Fri, Sep 25, 2020 at 05:03:24PM +0800, Wei Wang wrote:<br>
> > > > /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virsh.rst<br>
> > > > docs/manpages/virsh.rst:41: (ERROR/3) Error in "code-block" directive:<br>
> > > > 1 argument(s) required, 0 supplied.<br>
> > > ><br>
> > > > .. code-block::<br>
> > > ><br>
> > > >    virsh [OPTION]... <command> <domain> [ARG]...<br>
> > ><br>
> > > This is a sign of having a bad version of "rst2html5" installed.<br>
> > ><br>
> > > We expect to be using  rst2html5 that comes with python docutils<br>
> > > package.<br>
> ><br>
> > Yeah, the python3-docutils Debian package will contain a working<br>
> > rst2html5 binary.<br>
> ><br>
> ><br>
> That's strange, my rst2html5 comes from docutils:<br>
> python3-docutils: /usr/share/docutils/scripts/python3/rst2html5<br>
> <br>
> and<br>
> /usr/local/bin/rst2html5 --version<br>
> rst2html5 (Docutils 0.16 [release], Python 3.8.2, on linux)<br>
<br>
I wouldn't expect this to have been in /usr/local/bin - that is usually<br>
a sign of a local adminstrator install, via "pip" or some other means.<br>
The distro provided version would be in /usr/bin<br>
<br><br></blockquote><div><br></div><div>I reinstalled it via "apt-get install python3-docutils", still the same error.</div><div><br></div><div>Here is my check</div><div>whereis rst2html5<br>rst2html5: /usr/bin/rst2html5 /usr/local/bin/rst2html5.py /usr/local/bin/rst2html5 /usr/share/man/man1/rst2html5.1.gz<br></div><div><br></div><div>/usr/bin/rst2html5 is a link to /usr/share/docutils/scripts/python3/rst2html5</div><div><br></div><div>Thanks,</div><div>Wei</div><div><br></div></div></div>