Deutsch   English   Français   Italiano  
<mailman.32.1735185351.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Michael Torrie <torriem@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: it's a shame... python error over error
Date: Wed, 25 Dec 2024 20:55:47 -0700
Lines: 21
Message-ID: <mailman.32.1735185351.2912.python-list@python.org>
References: <vjh2mh$3bu1o$1@dont-email.me> <vkgote$2c59o$1@dont-email.me>
 <vkgpqk$2c59o$2@dont-email.me>
 <CAPTjJmq_tUSnxgSxbKTZ7gfWHG3qf9VKWki7-ehYfhpsvObpvA@mail.gmail.com>
 <938ad572-1a5c-6395-5b16-0373eb0373e0@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 7UyrtqggOElRH7wRMhkAtAs7epJaP3894qEbHGYjXFuQ==
Cancel-Lock: sha1:yPwVrgv6SBLmqLr/f4RrGyC9T6c= sha256:MmnbYb0/sfxWSfdUkXtgNVdnOujPE2R12ErqK7Q1Lyk=
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=jMVN543h;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'issue.': 0.05; "python's":
 0.05; 'subject:error': 0.07; 'ticket': 0.07; 'python.': 0.08;
 'angelico': 0.09; 'developers.': 0.09; 'fail.': 0.09; 'fault':
 0.09; 'subject:python': 0.10; 'import': 0.15; 'paths': 0.16;
 'wrote:': 0.16; 'python': 0.16; 'instead': 0.17; 'message-
 id:@gmail.com': 0.18; 'figure': 0.19; 'pm,': 0.19; 'thu,': 0.19;
 'to:addr:python-list': 0.20; "what's": 0.22; 'version': 0.23;
 'command': 0.23; 'run': 0.23; 'library': 0.26; 'local': 0.27;
 'chris': 0.28; 'think': 0.29; 'error': 0.29; 'header:User-
 Agent:1': 0.30; 'dec': 0.31; 'assume': 0.32; 'happening': 0.32;
 'python-list': 0.32; 'but': 0.32; 'there': 0.33; 'header:In-Reply-
 To:1': 0.34; 'received:google.com': 0.34; 'from:addr:gmail.com':
 0.34; 'trying': 0.35; 'one.': 0.35; 'necessarily': 0.37; 'using':
 0.37; "it's": 0.37; 'could': 0.37; 'received:192.168': 0.37;
 'means': 0.38; 'use': 0.39; 'want': 0.40; 'try': 0.40; 'search':
 0.61; 'security': 0.64; 'picked': 0.64; 'his': 0.65; 'per': 0.68;
 'skip:/ 10': 0.69; 'local,': 0.84; 'subject:over': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1735185349; x=1735790149; darn=python.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id:from
 :to:cc:subject:date:message-id:reply-to;
 bh=lsrb827rWrjvLPTliodD6Brt8+x1T777AlyiwjfQwuY=;
 b=jMVN543hpN3TYoEvVhn6rTIgX789okwCoeTUqk6DkMTTAuiWhhnHwFBFNPMfycH3Vm
 DLdxR8QIt8Yb3/2S4lzjyXR26zAPpXI1k3JqvI2WIZ7+Qb+48eD0aW0E+9ZoQLQCk5Jm
 vg9Auj0qj3Q+MH3WJZjh64GkD50dfNMLMgSxJIT3F7cAnywIl3GOoMZqAbmTGgtmnDWM
 oBC582XkoWH/wOnrhBCNKOey0uIivwIaixDQXG71VSgnbxIDBKOh0+CkSEUisvvnbzRk
 ziBDUJnJG7hyqfwhPlh5dNv91wZnMx0aQ/Ih4FW7oPVvz9nzF4nURDHG2j8yC45rPQXV
 dTBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1735185349; x=1735790149;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=lsrb827rWrjvLPTliodD6Brt8+x1T777AlyiwjfQwuY=;
 b=p9CZdLIG59LYsHKizrdCZR4ReHSqI3ssWnFs1FbmCVJiVRD+pxA8jf9+UNNCm/etnN
 UawEbycZ3VDoy2ssLUcbqa1HlpCksh84+cwJtk67VEGxWRyPMcL9dfPQyo1E2Bz0Ws+w
 9W8PuS6FSA/EAdVCpBF6xndN14tFoY3IgvqTGz0eq5U4xO1+f5vJ2AzhwVfmzwNQ82ij
 DONyktSfy3lUtIllu6F7yu7yR1KXgAtm5GgScZnzDN5n7PiJFc3bEBlzarqEzKCPWkMa
 QbXmNCf20eCSovTrg5yeOsMpLtTLu8Y5wkHYwM/aUdx60s2GYazgKg5+QlJ5cidgtm+9
 mg5w==
X-Gm-Message-State: AOJu0Yw9puxQk9mCpyHE0JFiwHfCabAxaj8KcCeCqoA+Ckf+UrfkkHs6
 BdN8g8iETaFGI4pGJgq8qo3qlnajlftmH2j6Aovx2mjbO7t7P1JUwGkOx2Mw
X-Gm-Gg: ASbGncvdfqUI6BlVOUkj12Ph7n0u/BQNvWwrMCOC5dNzAECDDIrsgl5PqffqCGRcYHH
 uVhlNKNN0D0bff6VsfKCcHX4sjLIYQt1zqjcsFyt9iYpwxvjSNfzoydwnCXQNTfZsT/0mDAMcYK
 VLe02gKNQ8TO7crA/h7kXkVOpvnOCOjaDTKefENslReyC5cqWURt/n3tElqhpcD4gk+RXVbivov
 Xh67kY5OnR98zcmJWBdFamYoBwKQEehBouiZInpot7oEaxm+YLwQjYr2FoSiw==
X-Google-Smtp-Source: AGHT+IETA6KYERI+xapQTRaTw4PHddKx0ZSRZUNFD/fh/Wz1WDiEbWyt+f5vABpaDT45qJIMRo1drw==
X-Received: by 2002:a05:6a00:6f4b:b0:726:380a:282f with SMTP id
 d2e1a72fcca58-72abdd3c245mr12331570b3a.2.1735185349381; 
 Wed, 25 Dec 2024 19:55:49 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Content-Language: en-US
In-Reply-To: <CAPTjJmq_tUSnxgSxbKTZ7gfWHG3qf9VKWki7-ehYfhpsvObpvA@mail.gmail.com>
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: <938ad572-1a5c-6395-5b16-0373eb0373e0@gmail.com>
X-Mailman-Original-References: <vjh2mh$3bu1o$1@dont-email.me>
 <vkgote$2c59o$1@dont-email.me>
 <vkgpqk$2c59o$2@dont-email.me>
 <CAPTjJmq_tUSnxgSxbKTZ7gfWHG3qf9VKWki7-ehYfhpsvObpvA@mail.gmail.com>
Bytes: 6638

On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
> On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
> <python-list@python.org> wrote:
>> It is not only an *usage* error it is also an *security* error because:
>>
>> 1) "cnf" is using OS python
>> 2) os "root" python
>> 3) using **my** local non-root library

I think he means the cnf is using the "root" OS python in /usr/bin, but
/usr/bin/python3 is trying to import his local build of sqlite3, which
cause it to fail. I assume he would like cnf to not try to import his
local sqlite3, and instead use the normal system one. If this is the
case, then somehow his local, non-root sqlite3 library is being picked
up by the system version of python.

Aotto might want to run the "env" command and see if there are any
search paths that have to do with Python.  I can see how this could be a
security issue. If you can figure out what's happening you might want to
open a ticket with the OpenSUSE developers.  This is Python related, but
it's not necessarily python's fault per se.