Bug 167752 - Python not working anymore on recent versions of LO on macOS
Summary: Python not working anymore on recent versions of LO on macOS
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectNotNeeded, regression
: 167645 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-07-31 22:42 UTC by Jens Troeger
Modified: 2025-10-08 18:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
LO python launch crash (9.23 KB, text/plain)
2025-08-29 17:07 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Troeger 2025-07-31 22:42:44 UTC
Looks like several of the recent LO drops for Mac don't run `python` anymore. Output from my console:

> uname -a
Darwin pooh 22.6.0 Darwin Kernel Version 22.6.0: Thu Apr 24 20:25:14 PDT 2025; root:xnu-8796.141.3.712.2~1/RELEASE_X86_64 x86_64 i386 Darwin

And various LO versions:

> LibreOffice.app/Contents/MacOS/soffice --version
LibreOffice 24.2.5.2 bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59

> LibreOffice.app/Contents/Resources/python 
Python 3.8.19 (default, Jul 10 2024, 18:17:37) 
[Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D

and

> LibreOffice.app/Contents/MacOS/soffice --version
LibreOffice 25.2.4.3 33e196637044ead23f5c3226cde09b47731f7e27

> LibreOffice.app/Contents/Resources/python 
Killed: 9

and

> LibreOffice.app/Contents/MacOS/soffice --version
LibreOffice 25.2.5.2 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022

> LibreOffice.app/Contents/Resources/python 
Killed: 9

and

> LibreOffice.app/Contents/MacOS/soffice --version
LibreOffice 25.8.0.2 80a8bc2ef75d415a197e282da0ebf917315d5e24

> LibreOffice.app/Contents/Resources/python 
Killed: 9

I've not tried others.

Thanks,
Jens
Comment 1 Alex Thurgood 2025-08-29 17:05:42 UTC
Confirming also with 

Version: 25.8.1.1 (AARCH64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 8; OS: macOS 15.6.1; UI render: Skia/Metal; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

and attaching an Apple crash trace.

==> regression
Comment 2 Alex Thurgood 2025-08-29 17:07:01 UTC
Created attachment 202594 [details]
LO python launch crash
Comment 3 Alex Thurgood 2025-08-29 17:12:49 UTC
*** Bug 167645 has been marked as a duplicate of this bug. ***
Comment 4 Alex Thurgood 2025-08-29 17:13:47 UTC
Description from bug 167645:

Apparently, this commit blocked the execution of embedded Python from outside LibreOffice:  
https://gerrit.libreoffice.org/c/core/+/185792