https://bugs.documentfoundation.org/show_bug.cgi?id=159528

            Bug ID: 159528
           Summary: officehelper doesn't function in the context of macOS
           Product: LibreOffice
           Version: 24.2.0.3 release
          Hardware: All
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: alain.romede...@libreoffice.org

Description:
officehelper.bootstrap() method seeks for UNO_PATH environment variable which
is not defined. This leads to invoke 'soffice' command in place of fully
qualified 'Applications/LibreOffice.app/Contents/MacOS/soffice' command 

Steps to Reproduce:
Run embedded Python interpreter or:
1. Install APSO extension
2. Run Python interpreter using APSO

In above Python REPL console:
3. type 'import officehelper as oh'
4. type 'oh.bootstrap()'
5. wait a few seconds

Actual Results:
bootstrap() method raises a NoConnectException:
- as this method does not detect the faulty command it spawns
- as this method fails to connect to a missing process

Expected Results:
bootstrap() connects successfully to '.../soffice' process 


Reproducible: Always


User Profile Reset: No

Additional Info:
In order to construct a fully qualified 'soffice' command bootstrap() method
seeks for UNO_PATH environment variable that's missing in the context of macOS.

- LO macOS build process may include an alias for 'soffice' that is mapped to
its fully qualified name   
'Applications/LibreOffice.app/Contents/MacOS/soffice'

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to