[Python-modules-team] Bug#811077: libapache2-mod-wsgi: Python 3.5: WSGIPythonPath broken for multiple paths

Sebastian Rittau srittau at debian.org
Fri Jan 15 13:28:52 UTC 2016


Package: libapache2-mod-wsgi-py3
Version: 4.3.0-1.1
Severity: important
File: libapache2-mod-wsgi

After upgrading to Python 3.5, mod_wsgi fails to work:

  [Fri Jan 15 14:20:27.792906 2016] [wsgi:error] [pid 19454] mod_wsgi (pid=19454): Call to 'site.addsitedir()' failed for '(null)', stopping.
  [Fri Jan 15 14:20:27.793048 2016] [wsgi:error] [pid 19454] mod_wsgi (pid=19454): Call to 'site.addsitedir()' failed for '/home/srittau/foo/bar/pylibs'.

This seems to be due to the following directive in the Apache configuration:

  WSGIDaemonProcess [...] python-path=/home/srittau/.virtualenvs/foo/lib/python3.5/site-packages:/home/srittau/foo/bar/pylibs

Cf. https://github.com/GrahamDumpleton/mod_wsgi/issues/92

According to this, the bug has been fixed in mod_wsgi 4.4.15.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libapache2-mod-wsgi-py3 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.18-1
ii  libc6                               2.21-6
ii  libpython3.4                        3.4.4-2
ii  libpython3.5                        3.5.1-5
ii  python3                             3.5.1-1

libapache2-mod-wsgi-py3 recommends no packages.

libapache2-mod-wsgi-py3 suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list