Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197112

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

From aotto1968 <aotto1968@t-online.de>
Newsgroups comp.lang.python
Subject Re: it's a shame... python error over error
Date 2024-12-26 08:47 +0100
Organization A noiseless patient Spider
Message-ID <vkj1n8$2s8i6$4@dont-email.me> (permalink)
References (1 earlier) <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> <mailman.32.1735185351.2912.python-list@python.org>

Show all headers | View raw


On 26.12.24 04:55, Michael Torrie 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.
> 
> 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.

You don't understand the problem if you think "/usr/bin/env"  will solve the
problem → this will make it more worse.

A "personal" python will use a "personal" configuration and probably is *not*
build with sqlite3 support at all.

a *root* tool should never ever use/call a non *root* (personal) setup.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:36 +0100
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:44 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:49 +0100
  Re: it's a shame... python error over error Barry <barry@barrys-emacs.org> - 2024-12-13 18:24 +0000
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 21:56 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 08:27 -0700
  Re: it's a shame... python error over error "Peter J. Holzer" <hjp-python@hjp.at> - 2024-12-14 10:56 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-14 18:31 +0100
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-15 06:12 +1100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 22:21 -0700
  Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 08:30 -0700
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-16 08:08 +0100
    Re: it's a shame... python error over error "Peter J. Holzer" <hjp-python@hjp.at> - 2024-12-16 16:30 +0100
    Re: it's a shame... python error over error Grant Edwards <grant.b.edwards@gmail.com> - 2024-12-16 14:06 -0500
    Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-17 21:30 -0700
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-25 12:05 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-25 12:20 +0100
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-26 09:55 +1100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:34 +0100
          Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-30 17:10 +1100
          Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-30 10:29 -0700
            Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2025-01-03 23:16 +0100
              Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2025-01-04 09:25 +1100
              Re: it's a shame... python error over error (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-03 23:17 +0000
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-25 20:55 -0700
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:42 +0100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:47 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-25 20:57 -0700
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-26 16:46 +1100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:35 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-26 11:33 -0700
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-27 07:46 +0100

csiph-web