When running:
sphinx-build -b gettext ...
In sphinx/builders/gettext.py MessageCatalogBuilder.finish() calls canon_path() which throws an AttributeError when its argument is None, which seems to happen in situations with lots of .. image:: directives with :alt: messages. This has been broken since at least October last year (commit 281bf2a).
I could fix the functions, but this will probably just hide the possible bug somewhere else that is returning None for the translation string source file and line number.
When running:
In
sphinx/builders/gettext.pyMessageCatalogBuilder.finish() calls canon_path() which throws an AttributeError when its argument is None, which seems to happen in situations with lots of.. image::directives with:alt:messages. This has been broken since at least October last year (commit 281bf2a).I could fix the functions, but this will probably just hide the possible bug somewhere else that is returning None for the translation string source file and line number.