Thanks Peter ... the problem was all mine.Can't quite remember what it was 
exactly but I introduced a bug in my own code and it manifested down there in 
the bowels of the snake.I suppose that indicates a possible kink to be ironed 
out and if that interests you I am happy to retrace my steps and describe 
it.Fyi, there was nothing out of kilter in the machine. It was in production 
and is stable.CheersMike--(Unsigned mail from my phone)
-------- Original message --------From: "Peter J. Holzer" <hjp-pyt...@hjp.at> 
Date: 26/12/21  06:19  (GMT+10:00) To: python-list@python.org Subject: Re: 
Isn't TypeError built in? 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 definedDid you upgrade the OS 
recently and do you use virtual environents withmod_wsgi?"Impossible" errors 
like the above are common when the virtualenvironment was built with a 
different (older) version of the Pythoninterpreter than the one trying to use 
it. Nuking and rebuilding thevirtual 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!"-- https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to