Re: it's a shame... python error over error

Liste des GroupesRevenir à cl python 
Sujet : Re: it's a shame... python error over error
De : rosuav (at) *nospam* gmail.com (Chris Angelico)
Groupes : comp.lang.python
Date : 26. Dec 2024, 06:46:26
Autres entêtes
Message-ID : <mailman.34.1735192000.2912.python-list@python.org>
References : 1 2 3 4 5 6
On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list
<python-list@python.org> wrote:
>
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.

Right. That's exactly what would happen if he'd built Python using
absolute paths to libraries, which is the normal way to do it. And so
the solution is to rebuild Python using absolute paths to libraries.

ChrisA

Date Sujet#  Auteur
13 Dec 24 * it's a shame... python error over error32aotto1968
13 Dec 24 +* Re: it's a shame... python error over error2aotto1968
13 Dec 24 i`- Re: it's a shame... python error over error1aotto1968
13 Dec 24 +* Re: it's a shame... python error over error3Barry
13 Dec 24 i`* Re: it's a shame... python error over error2aotto1968
14 Dec 24 i `- Re: it's a shame... python error over error1Michael Torrie
14 Dec 24 +* Re: it's a shame... python error over error4Peter J. Holzer
14 Dec 24 i`* Re: it's a shame... python error over error3aotto1968
14 Dec 24 i +- Re: it's a shame... python error over error1Chris Angelico
15 Dec 24 i `- Re: it's a shame... python error over error1Michael Torrie
14 Dec 24 +- Re: it's a shame... python error over error1Michael Torrie
16 Dec 24 +* Re: it's a shame... python error over error4aotto1968
16 Dec 24 i+- Re: it's a shame... python error over error1Peter J. Holzer
16 Dec 24 i+- Re: it's a shame... python error over error1Grant Edwards
18 Dec 24 i`- Re: it's a shame... python error over error1Michael Torrie
25 Dec 24 `* Re: it's a shame... python error over error17aotto1968
25 Dec 24  `* Re: it's a shame... python error over error16aotto1968
25 Dec 24   +* Re: it's a shame... python error over error7Chris Angelico
26 Dec 24   i`* Re: it's a shame... python error over error6aotto1968
30 Dec 24   i +- Re: it's a shame... python error over error1Chris Angelico
30 Dec 24   i `* Re: it's a shame... python error over error4Michael Torrie
3 Jan 25   i  `* Re: it's a shame... python error over error3aotto1968
3 Jan 25   i   +- Re: it's a shame... python error over error1Chris Angelico
4 Jan 25   i   `- Re: it's a shame... python error over error (Posting On Python-List Prohibited)1Lawrence D'Oliveiro
26 Dec 24   +* Re: it's a shame... python error over error3Michael Torrie
26 Dec 24   i+- Re: it's a shame... python error over error1aotto1968
26 Dec 24   i`- Re: it's a shame... python error over error1aotto1968
26 Dec 24   +- Re: it's a shame... python error over error1Michael Torrie
26 Dec 24   +* Re: it's a shame... python error over error2Chris Angelico
26 Dec 24   i`- Re: it's a shame... python error over error1aotto1968
26 Dec 24   `* Re: it's a shame... python error over error2Michael Torrie
27 Dec 24    `- Re: it's a shame... python error over error1aotto1968

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal