On Sat, Aug 29, 2026 at 10:40:57AM +0200, Hilmar Preusse wrote:
On 8/16/26 12:21 PM, Sean Whitton wrote:
Hilmar Preuße [10/Aug 12:47pm +02] wrote:
Traceback (most recent call last):
  File "/usr/bin/sphinx-intl", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1514, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1435, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1902, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1298, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 853, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sphinx_intl/commands.py", line 315, in 
update
    basic.update(
    ~~~~~~~~~~~~^
        locale_dir,
        ^^^^^^^^^^^
    ...<4 lines>...
        jobs=jobs,
        ^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/sphinx_intl/basic.py", line 107, in 
update
    po_dir = os.path.join(locale_dir, lang, "LC_MESSAGES")
  File "<frozen posixpath>", line 77, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

Thanks.  It looks like it might be a bug in sphinx-intl, then.  I don't
see any intentional incompatible changes in the upstream CHANGES.rst.

Adding recent uploaders of sphinx-intl.


Reassigning over there for now. In case the issue is still in TL, call back.

debbisect says:

the following packages differ between the last good and first bad timestamp:
  distro-info-data 0.72-1 -> 0.73-1
  python3-click 8.2.0+0.really.8.1.8-2 -> 8.3.3-1
  texlive 2026.20260711-1 -> 2026.20260711-2
  texlive-base 2026.20260711-1 -> 2026.20260711-2
  texlive-fonts-recommended 2026.20260711-1 -> 2026.20260711-2
  texlive-latex-base 2026.20260711-1 -> 2026.20260711-2
  texlive-latex-recommended 2026.20260711-1 -> 2026.20260711-2
  texlive-luatex 2026.20260711-1 -> 2026.20260711-2
  texlive-pictures 2026.20260711-1 -> 2026.20260711-2
  texlive-xetex 2026.20260711-1 -> 2026.20260711-2

My money is on the python3-click change, although I suspect the bug should remain assigned to sphinx-intl since it probably needs to adapt to click API changes of some kind. I haven't tracked it down further yet.

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to