Package: libapache2-mod-python
Version: 3.5.0-1+b1
Severity: important

Dear Maintainer,

A fresh install on sid, and whenever mod_python is invoked
I see a server failure:
In the Apache2 log is:
  File "/usr/lib/python3/dist-packages/mod_python/psp.py", line 28, in 
<module>\n    from cgi import escape
[Tue Nov 24 12:23:01.095592 2020] [:error] [pid 112599:tid 140109003720448] 
[client ::1:34224] PythonHandler ertos: ImportError: cannot import name 
'escape' from 'cgi' (/usr/lib/python3.9/cgi.py)


escape() is now available in the html module instead of the cgi module.

This looks like it has been fixed upstream.

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-3-cloud-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libapache2-mod-python depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.46-2
ii  libc6                               2.31-4
ii  libpython3.9                        3.9.0-5
ii  python3                             3.9.0-3

libapache2-mod-python recommends no packages.

Versions of packages libapache2-mod-python suggests:
pn  libapache2-mod-python-doc  <none>

-- no debconf information

Reply via email to