home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 27,372 of 28,835   
   Roger Lynn to All   
   Bug#1127757: /usr/lib/cgi-bin/doc-centra   
   12 Feb 26 17:30:02   
   
   From: Roger@rilynn.me.uk   
      
   Package: doc-central   
   Version: 1.9.1   
   Severity: normal   
   File: /usr/lib/cgi-bin/doc-central/contents.cgi   
      
   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-bi   
   /doc-central/contents.cgi HTTP/1.1", upstream: "fastcgi://unix:/   
   ar/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, '
\n\g<1>
', abstract)       /usr/lib/cgi-bin/doc-central/docinfo.py:73: SyntaxWarning: invalid escape       sequence '\g'        abstract = re.sub(pat_url, '\g<1>', abstract)       Traceback (most recent call last):        File "/usr/lib/cgi-bin/doc-central/contents.cgi", line 63, in         print("""        ~~~        """ % docutils.scriptname("search.cgi"))        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~" while reading response header from       upstream, client: 192.168.10.54, server: , request: "GET /cgi-bi       /doc-central/contents.cgi HTTP/1.1", upstream: "fastcgi://unix:/       ar/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:              
  • Text       
  • Viewers                     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                     -- System Information:       Debian Release: 13.3        APT prefers stable-updates        APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,       'stable')       Architecture: amd64 (x86_64)              Kernel: Linux 6.12.63+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)       Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),        ANGUAGE=en_GB:en       Shell: /bin/sh linked to /usr/bin/dash       Init: sysvinit (via /sbin/init)       LSM: AppArmor: enabled              Versions of packages doc-central depends on:       ii doc-base 0.11.2       ii info2www 1.2.2.9-27       ii nginx [httpd-cgi] 1.26.3-3+deb13u1       ii python3 3.13.5-1       ii python3-debian 1.0.1       ii sensible-utils 0.0.25              Versions of packages doc-central recommends:       ii elinks [www-browser] 0.18.0-1+b1       ii links [www-browser] 2.29-2+b3       ii lynx [www-browser] 2.9.2-1       ii w3m [www-browser] 0.5.3+git20230121-2.1              doc-central suggests no packages.              -- no debconf information              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)   

  • [   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


    (c) 1994,  bbs@darkrealms.ca