Caught in DEP8[1], but had to extract the apache error log manually:
[Fri Feb 04 23:54:41.720489 2022] [:warn] [pid 6718:tid 140490661578304] WARNING: mod_python version mismatch, expected '3.5.0-', found '3.5.0'.
[Fri Feb 04 23:54:41.720545 2022] [:warn] [pid 6718:tid 140490661578304] WARNING: mod_python modules location '/usr/lib/python3/dist-packages/mod_python/__init__.py'.
[Fri Feb 04 23:54:41.735111 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: Traceback (most recent call last):
[Fri Feb 04 23:54:41.735153 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: File "/usr/lib/python3/dist-packages/mod_python/apache.py", line 398, in HandlerDispatch\n result = obj(req)
[Fri Feb 04 23:54:41.735162 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: File "/usr/lib/python3/dist-packages/mod_python/publisher.py", line 222, in handler\n published = publish_object(req, object)
[Fri Feb 04 23:54:41.735171 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: File "/usr/lib/python3/dist-packages/mod_python/publisher.py", line 440, in publish_object\n if _callable(obj):
[Fri Feb 04 23:54:41.735179 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: File "/usr/lib/python3/dist-packages/mod_python/publisher.py", line 54, in _callable\n return (isinstance(obj, collections.Callable) or
[Fri Feb 04 23:54:41.735187 2022] [:error] [pid 6718:tid 140490661578304] [client 127.0.0.1:41932] PythonHandler mod_python.publisher: AttributeError: module 'collections' has no attribute 'Callable'
[Fri Feb 04 23:54:41.773768 2022] [:warn] [pid 6718:tid 140490661578304] WARNING: mod_python version mismatch, expected '3.5.0-', found '3.5.0'.
[Fri Feb 04 23:54:41.773816 2022] [:warn] [pid 6718:tid 140490661578304] WARNING: mod_python modules location '/usr/lib/python3/dist-packages/mod_python/__init__.py'.
1. https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/liba/libapache2-mod-python/20220122_094511_890af@/log.gz
After fixing that error, though, something else pops up: publisher: Traceback (most recent call last): publisher: File "/usr/lib/ python3/ dist-packages/ mod_python/ apache. py", line 398, in HandlerDispatch\n result = obj(req) publisher: File "/usr/lib/ python3/ dist-packages/ mod_python/ publisher. py", line 222, in handler\n published = publish_object(req, object) publisher: File "/usr/lib/ python3/ dist-packages/ mod_python/ publisher. py", line 446, in publish_object\n return publish_object(req, util.apply_ fs_data( obj, req.form, req=req)) publisher: File "/usr/lib/ python3/ dist-packages/ mod_python/ publisher. py", line 509, in publish_object\n req.write(result, 0) publisher: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
[Fri Feb 04 23:58:25.590275 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:25.590337 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:25.590353 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:25.590366 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:25.590378 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:25.590390 2022] [:error] [pid 6719:tid 140490653185600] [client 127.0.0.1:41934] PythonHandler mod_python.
[Fri Feb 04 23:58:26.051704 2022] [core:notice] [pid 6257:tid 140490685847424] AH00051: child pid 6719 exit signal Segmentation fault (11), possible coredump in /etc/apache2