On 9/5/25 20:19, Santiago Vila wrote:
> [...]
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
'restructuredtext'}`.
loading pickled environment... t/01-Common-Conf.t ............ ok
The configuration has changed (1 option: 'html_css_files')
done
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
reading sources...
looking for now-outdated files... none found
no targets are out of date.
preparing documents... t/02-Common-Conf-File.t ....... ok
failed
Versions
========
* Platform: linux;
(Linux-6.12.41+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version: 3.13.7 (CPython)
* Sphinx version: 8.2.3
* Docutils version: 0.21.2
* Jinja2 version: 3.1.6
* Pygments version: 2.18.0
Last Messages
=============
building [html]: targets for 0 source files that are out of date
updating environment:
0 added, 0 changed, 0 removed
reading sources...
looking for now-outdated files...
none found
no targets are out of date.
preparing documents...
failed
Loaded Extensions
=================
* sphinx.ext.mathjax (8.2.3)
* alabaster (0.7.16)
Traceback
=========
File "/usr/lib/python3/dist-packages/sphinx/search/__init__.py", line
347, in load
self._all_titles[index2fn[doc]].append((title, titleid))
~~~~~~~~^^^^^
TypeError: list indices must be integers or slices, not NoneType
The full traceback has been saved in:
/tmp/sphinx-err-vdronpsu.log
To report this error to the developers, please open an issue at
<https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message
can be provided next time.
It looks like:
- dh_auto_test is launched before build ends
- Sphinx randomly failed now
As a workaround, I modified debian/rules to make test depends on doc,
this looks to fix the problem for now...