On 2021-12-13 12:22:28 +1100, Mike Dewhirst via Python-list wrote: > Obviously something is wrong elsewhere but I'm not sure where to look. > Ubuntu 20.04 with plenty of RAM. [...] > [Mon Dec 13 01:15:49.885659 2021] [mpm_event:notice] [pid 1033:tid > 140446449658944] AH00489: Apache/2.4.41 (Ubuntu) SVN/1.13.0 OpenSSL/1.1.1f > mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations > [Mon Dec 13 01:15:49.885664 2021] [core:notice] [pid 1033:tid > 140446449658944] AH00094: Command line: '/usr/sbin/apache2' > Exception ignored in: <function Local.__del__ at 0x7fbc380964c0> > Traceback (most recent call last): > File "/usr/local/lib/python3.8/dist-packages/asgiref/local.py", line 96, > in __del__ > NameError: name 'TypeError' is not defined
Did you upgrade the OS recently and do you use virtual environents with mod_wsgi? "Impossible" errors like the above are common when the virtual environment was built with a different (older) version of the Python interpreter than the one trying to use it. Nuking and rebuilding the virtual environment is usually the quickest way to fix it. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | h...@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
-- https://mail.python.org/mailman/listinfo/python-list