Acknowledgement sent
to Picca Frédéric-Emmanuel <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Python Team <[email protected]>.
(Tue, 06 Feb 2024 08:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Shachnev <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Python Team <[email protected]>.
(Tue, 06 Feb 2024 11:33:05 GMT) (full text, mbox, link).
Hi Frédéric!
On Tue, Feb 06, 2024 at 09:32:45AM +0100, Picca Frédéric-Emmanuel wrote:
> Package: python3-sphinx
> Version: 5.3.0-4
> Severity: important
>
> Dear Maintainer,
>
> Hello, while preparing the new silx package, I got this error message from
> sphinx when calling this command line
>
> [...]
>
> File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 353, in create_translator
> setattr(translator, 'visit_' + name, MethodType(visit, translator))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> TypeError: first argument must be callable
This is because sphinx-panels defines the handler for "fontawesome" role for
manpage builder as (None, None):
https://sources.debian.org/src/sphinx-panels/0.6.0-3/sphinx_panels/icons.py/#L144
While Sphinx expects at least the visit function (the first pair element) to
be not None.
However, sphinx-panels is dead, and upstream recommends to use sphinx-design
instead. And in sphinx-design this bug is fixed:
https://sources.debian.org/src/sphinx-design/0.5.0-2/sphinx_design/icons.py/#L42https://github.com/executablebooks/sphinx-design/pull/88
If you want a fix in sphinx-panels, please reassign the bug. Otherwise, if you
have found another solution, please close it.
--
Dmitry Shachnev
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.