Bug#994040: "SystemError: initialization of _psycopg raised unreported exception" when running under WSGI

2021-10-21 Thread Raphael Hertzog
Hello, Le dimanche 03 octobre 2021, Sébastien Helleu a écrit : > In my case, setting "WSGIApplicationGroup" to "%{GLOBAL}" doesn't help much. > > But I found another solution, by enabling Daemon mode, as recommended by the > Django docs: >

Bug#994040: "SystemError: initialization of _psycopg raised unreported exception" when running under WSGI

2021-10-03 Thread Sébastien Helleu
Hi Stéphane, I've hit the same problem while migrating my Django sites from Debian Buster to Bullseye. In my case, setting "WSGIApplicationGroup" to "%{GLOBAL}" doesn't help much. But I found another solution, by enabling Daemon mode, as recommended by the Django docs:

Bug#994040: "SystemError: initialization of _psycopg raised unreported exception" when running under WSGI

2021-09-10 Thread Stephane Bortzmeyer
Package: libapache2-mod-wsgi-py3 Version: 4.7.1-3+b1 Severity: normal Dear Maintainer, Since upgrading to bullseye, a WSGI script which imports psycopg2 fails sometimes (randomly?) with: [Sun Aug 29 17:54:07.215719 2021] [wsgi:error] [pid 7705] [client 127.0.0.1:33774] mod_wsgi (pid=7705):