Is it possible to turn on debugging and to display on the console, where >python is loading files from ?
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 ?
On 4 Sep 2024, at 16:27, Guenther Sohler via Python-list =<python-list@python.org> wrote:
=20where
Is it possible to turn on debugging and to display on the console, =
python is loading files from ?
=20
Beware that you cannot use print to stdout for a .app as its stdin/stdout do not go anywhere useful.
On 5 Sep 2024, at 02:32, Greg Ewing via Python-list <python-list@python.or=
wrote:
=20
Normally it's in the <appname>.app/Contents/MacOS subdirectory. The name varies, but there's usually just one executable file in there. Run that
from a shell and you should see anything written to stdout or stderr.
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 4 |
Nodes: | 8 (0 / 8) |
Uptime: | 59:00:13 |
Calls: | 65 |
Files: | 21,500 |
Messages: | 73,556 |