Python UNO import on Mac broken

Jens Tröger jens.troeger at light-speed.de
Tue Feb 17 21:48:21 PST 2015


Hi,

This has been a problem for a long time, but it's now becoming a bit of
a show stopper and I can't quite work around it anymore.  The workaround is
documented here:

  http://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-private-python-build/27975796#27975796

This issue is easy to reproduce on a Mac with Python installed (system,
or MacPorts):

  localhost ~ > PYTHONPATH=$PYTHONPATH:/Applications/LibreOffice64.app/Contents/MacOS python3.3
  Python 3.3.6 (default, Nov 12 2014, 18:18:46) 
  [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import uno
  Segmentation fault: 11

Any chance that whoever owns this code can take a look and fix this
problem?  Importing uno works just fine on Linux.  (Except it doesn't on
the latest Ubuntu, but pip/venv is broken there too...)

Cheers,
Jens

-- 
Jens Tröger
http://savage.light-speed.de/


More information about the LibreOffice mailing list