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/#L42 https://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
signature.asc
Description: PGP signature