Bug 168739 - Mac OS : can't connect to Libreoffice or launch python in Terminal
Summary: Mac OS : can't connect to Libreoffice or launch python in Terminal
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-08 08:36 UTC by Dorange-Pattoret Didier
Modified: 2025-10-22 19:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
RunBasicMacro for testings (1.46 KB, text/x-python)
2025-10-08 08:39 UTC, Dorange-Pattoret Didier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorange-Pattoret Didier 2025-10-08 08:36:21 UTC
Description:
It's not possible to connect to LO since LO25.8
It's a regression.

It works fine until LO25.2


Steps to Reproduce:
1.Create a Main macro in Standard.Module1 like
Function Main(myParam)
   Print myParam
   Main = myParam & "return"
End Function
2.Put the RunBasicMacro.py in your home folder
3. Write in a terminal /Applications/LibreOffice.app/Contents/Resources/python '/Users/didier/Documents/RunBasicMacro.py' 'Standard.Module1.Main' 'MonDidou'
4. Adapt file and command line to your configuration
5. Click Enter in the terminal

Actual Results:
Kill 9

Expected Results:
The message from Print and MonDidou in the terminal


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Run with : 
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 4; OS: macOS 14.4.1; UI render: Skia/Raster; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

Do'nt run with :
Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 4; OS: macOS 14.4.1; UI render: Skia/Raster; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Dorange-Pattoret Didier 2025-10-08 08:39:13 UTC
Created attachment 203199 [details]
RunBasicMacro for testings

For testing
Comment 2 Dorange-Pattoret Didier 2025-10-20 11:41:06 UTC
Hello Everybody,
Someone to confirm the bug - regression ?

Thanks in advance.
Didier DP.
Comment 3 Dorange-Pattoret Didier 2025-10-21 08:52:09 UTC
Hello,

Simply try in Terminal :
cd /Applications/LibreOffice.app/Contents/Resources/../Resources
./python

It works (in MacOs) with LO25.2 but not with 25.8

It's a real regression ...

Thanks for your help.