On 12/2/26 11:39, Roger Lynn wrote:
> docutils.py includes cgi which has been deprecated and removed from Python
> 3.13, and is now provided by the python3-legacy-cgi package. This means all
> the doc-central cgi scripts fail.
> https://docs.python.org/3/library/cgi.html
The errors from the CGI scripts are all along the lines of:
2026/02/12 09:28:50 [error] 116112#116112: *19844 FastCGI sent in stderr:
"/usr/lib/cgi-bin/doc-central/docutils.py:104: SyntaxWarning: invalid escape
sequence '\.'
m = re.match("/usr(/share)?/info/(.+)\.info", doc.docs[format])
Traceback (most recent call last):
File "/usr/lib/cgi-bin/doc-central/contents.cgi", line 6, in <module>
import docutils
File "/usr/lib/cgi-bin/doc-central/docutils.py", line 8, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'" while reading response header from
upstream, client: 192.168.10.54, server: , request: "GET
/cgi-bin/doc-central/contents.cgi HTTP/1.1", upstream:
"fastcgi://unix:/var/run/fcgiwrap.socket:", host: "my.server.local", referrer:
"https://my.server.local/dc/"