Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #336: the xy axis in the trackball is coordinated with the summer solstice


comp / comp.lang.python / Re: Crash when launching python

SubjectAuthor
o Re: Crash when launching pythondn

1
Subject: Re: Crash when launching python
From: dn
Newsgroups: comp.lang.python
Organization: DWM
Date: Wed, 4 Sep 2024 19:25 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonList@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Re: Crash when launching python
Date: Thu, 5 Sep 2024 07:25:13 +1200
Organization: DWM
Lines: 34
Message-ID: <mailman.34.1725477926.2917.python-list@python.org>
References: <CAASeUHqhP-TKjWkNqb_2o59a6hH6BRYa_kuNZn-gZ3wzC45NXQ@mail.gmail.com>
<0585fdf2-70fa-42af-adf3-d90010f752d4@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de gZzbyVf7iqXlB+DsM7xYtw6I8+rdiF+JM/1jKtpifXsw==
Cancel-Lock: sha1:0l2GQ/rimhLURDaEQsfBZ0VCxic= sha256:wzlwb1Wi0Jj30dpA6i/waWZ2E+w1i2wP+GsiMRxAZNo=
Return-Path: <PythonList@DancesWithMice.info>
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=danceswithmice.info header.i=@danceswithmice.info
header.b=A2y+lkLm; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'looks': 0.02;
'subject:python': 0.06; 'debugging': 0.07; 'subject:when': 0.07;
'=dn': 0.09; 'console,': 0.09; 'from:addr:danceswithmice.info':
0.09; 'from:addr:pythonlist': 0.09; 'integrate': 0.09; 'macos':
0.09; 'doc': 0.16; 'message-id:@DancesWithMice.info': 0.16;
'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'url:mac':
0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
'mac': 0.22; '\xe2\x80\x94': 0.22; '(and': 0.25; 'library': 0.26;
'environment': 0.29; 'header:User-Agent:1': 0.30;
'header:Organization:1': 0.31; 'python-list': 0.32; 'but': 0.32;
'there': 0.33; 'able': 0.34; 'header:In-Reply-To:1': 0.34; 'runs':
0.35; 'files': 0.36; 'display': 0.36; 'using': 0.37;
'received:192.168': 0.37; 'quite': 0.39; 'still': 0.40; 'files.':
0.40; 'likely': 0.61; 'here': 0.62; 'with:': 0.64; 'let': 0.66;
'site': 0.70; 'ship': 0.81; 'preceding': 0.84; 'programmatic':
0.84; 'url:site': 0.93
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 3922558F6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1725477918;
bh=1SzAu3ocfdrrRgkg22458+c/A8sZ7NVEyGYLkpPxkAU=;
h=Date:From:Subject:To:References:In-Reply-To:From;
b=A2y+lkLm/3bTEzIpoRLd8YeTvjiD/SzSKERzNuumR6naAuKLIfH+WPPbqSadjKcmE
C63uw3DCZv6aeJXAVlSFByKGH2mrawmEdMhx6KlSyap3ZbrMV6aGxUWctDWOOyCtrI
f/gjZuzq+5otkWzKN3vh2LTZTzEj6DQU1GKSUvsaSe/APU/pSuxzD+UvoqOCWI2XGl
mrVxwkF+fLg5E5pseZa9G0A0X99YTm+deNC9LLJgXCoxZTK5j0idQL9XtWvJL4GeVk
WCDt2XLDKhsaenW3HA9WuK76dUY8A+BrUOeF5sn9Wv3XFwRRTcXHfQ33yIZlXNscDF
ba7FY2Sjzy4tg==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <CAASeUHqhP-TKjWkNqb_2o59a6hH6BRYa_kuNZn-gZ3wzC45NXQ@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: <0585fdf2-70fa-42af-adf3-d90010f752d4@DancesWithMice.info>
X-Mailman-Original-References: <CAASeUHqhP-TKjWkNqb_2o59a6hH6BRYa_kuNZn-gZ3wzC45NXQ@mail.gmail.com>
View all headers

On 5/09/24 03:27, Guenther Sohler via Python-list wrote:
> Hi,
>
> My "Project" is to integrate python support into OpenSCAD. It runs quite
> well, but
> there are still issues on MacOS. On My MacOS it works, but it crashes when
> I ship
> the DMG files.
> It looks very much like python is not able to find the "startup" python
> files and therefore crashes.
>
> Is it possible to turn on debugging and to display on the console, where
> python is loading files from ?

(am not a Mac user)

Starting with 'the basics', are you familiar with:
5. Using Python on a Mac https://docs.python.org/3/using/mac.html
(and the more general preceding sections)

This doc likely includes mention of such parameters:
1.2. Environment variables
https://docs.python.org/3/using/cmdline.html#environment-variables

Here is a library for programmatic manipulation:
site — Site-specific configuration hook
https://docs.python.org/3/library/site.html#module-site

Please let us know how things progress...

--
Regards,
=dn

1

rocksolid light 0.9.8
clearnet tor