Hi,
When serving the contents frame, the following error is generated:
2026/02/12 11:49:21 [error] 116109#116109: *19987 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])
/usr/lib/cgi-bin/doc-central/docinfo.py:19: SyntaxWarning: invalid escape sequence '\.'
pat_paragraph = re.compile('^ \.\n', re.MULTILINE)
/usr/lib/cgi-bin/doc-central/docinfo.py:21: SyntaxWarning: invalid escape sequence '\.'
pat_url = re.compile('((http|ftp)s?://[a-zA-Z0-9-]+\.[a-zA-Z0-9-./]+)')
/usr/lib/cgi-bin/doc-central/docinfo.py" 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/"
2026/02/12 11:49:21 [error] 116109#116109: *19987 FastCGI sent in stderr: ":72: SyntaxWarning: invalid escape sequence '\g'
abstract = re.sub(pat_verbatim, '<PRE>\n\g<1></PRE>', abstract)
/usr/lib/cgi-bin/doc-central/docinfo.py:73: SyntaxWarning: invalid escape sequence '\g'
abstract = re.sub(pat_url, '<A HREF="\g<1>">\g<1></A>', abstract)
Traceback (most recent call last):
File "/usr/lib/cgi-bin/doc-central/contents.cgi", line 63, in <module>
print("""
~~~
</body></html>""" % docutils.scriptname("search.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/"
2026/02/12 11:49:21 [error] 116109#116109: *19987 FastCGI sent in stderr: "~~~~~~~~~~~~~~~~~~~~~~~
TypeError: not all arguments converted during string formatting" 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/"
The page served is missing the closing body and html tags, ending with:
<LI><A HREF="/cgi-bin/doc-central/browse.cgi?section=Text">Text</A>
<LI><A HREF="/cgi-bin/doc-central/browse.cgi?section=Viewers">Viewers</A>
</UL>
I'm sorry that I don't have the Python experience or time to debug this
myself at the moment.
When I try to use the search box at the top of the contents frame, I get
this error:
2026/02/12 16:07:41 [info] 116113#116113: *20511 client sent invalid request while reading client request line, client: 192.168.10.54, server: , request: "GET /cgi-bin/doc-central/%s?keyword=foo HTTP/1.1"
I don't know whether this is related or possibly due to a bad CGI
configuration on the server.
Thanks,
Roger