Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Ahead warp factor 1" -- Captain Kirk


devel / comp.lang.python / Re: Isn't TypeError built in?

SubjectAuthor
o Re: Isn't TypeError built in?Peter J. Holzer

1
Re: Isn't TypeError built in?

<mailman.31.1640459840.3079.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16495&group=comp.lang.python#16495

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: hjp-pyt...@hjp.at (Peter J. Holzer)
Newsgroups: comp.lang.python
Subject: Re: Isn't TypeError built in?
Date: Sat, 25 Dec 2021 20:09:34 +0100
Lines: 59
Message-ID: <mailman.31.1640459840.3079.python-list@python.org>
References: <b4597886-e7f6-22f3-5605-67ed34e60c5f@dewhirst.com.au>
<20211225190934.cjq7zrbe52nkflms@hjp.at>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="vgd5axqinqhoijng"
X-Trace: news.uni-berlin.de GIGGuJRQCuFhs9OJ7hZkAwfI0RIIJtxDRsFFNcl7roAg==
Return-Path: <hjp-python@hjp.at>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'traceback': 0.04; '(most':
0.05; 'content-type:multipart/signed': 0.05; 'last):': 0.05;
'content-type:application/pgp-signature': 0.09; 'filename:fname
piece:asc': 0.09; 'filename:fname piece:signature': 0.09;
'filename:fname:signature.asc': 0.09; 'line:': 0.09; 'obviously':
0.09; 'ubuntu': 0.09; '"creative': 0.16; '+1100,': 0.16; '__/':
0.16; 'challenge!"': 0.16; 'elsewhere': 0.16; 'from:addr:hjp-
python': 0.16; 'from:addr:hjp.at': 0.16; 'from:name:peter j.
holzer': 0.16; 'hjp@hjp.at': 0.16; 'holzer': 0.16; 'ignored':
0.16; 'interpreter': 0.16; 'reality.': 0.16; 'stross,': 0.16;
'url-ip:212.17.106.137/32': 0.16; 'url-ip:212.17.106/24': 0.16;
'url-ip:212.17/16': 0.16; 'url:hjp': 0.16; '|_|_)': 0.16;
'wrote:': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
'exception': 0.22; 'version': 0.23; 'command': 0.23; 'sense':
0.28; 'wrong': 0.28; 'environment': 0.29; 'recently': 0.29; 'dec':
0.31; 'python-list': 0.32; 'but': 0.32; "i'm": 0.33; 'header:In-
Reply-To:1': 0.34; 'trying': 0.35; 'fix': 0.36; 'built': 0.36;
'errors': 0.36; "skip:' 10": 0.37; 'file': 0.38; 'way': 0.38;
'use': 0.39; 'something': 0.40; 'skip:o 10': 0.61; 'above': 0.62;
'received:212': 0.62; 'in:': 0.64; 'upgrade': 0.64;
'received:userid': 0.66; 'operations': 0.68; 'url-ip:212/8': 0.69;
'virtual': 0.71; 'charset:iso-8859-1': 0.73; 'received:at': 0.84;
'skip:" 50': 0.84
Content-Disposition: inline
In-Reply-To: <b4597886-e7f6-22f3-5605-67ed34e60c5f@dewhirst.com.au>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <20211225190934.cjq7zrbe52nkflms@hjp.at>
X-Mailman-Original-References: <b4597886-e7f6-22f3-5605-67ed34e60c5f@dewhirst.com.au>
 by: Peter J. Holzer - Sat, 25 Dec 2021 19:09 UTC
Attachments: signature.asc (application/pgp-signature)

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.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

Attachments: signature.asc (application/pgp-signature)
1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor