Hello,
Just for the record, on MacOs 10.9.5, LO 4.3.5, Python 2.7.5, I don't
reproduce the segfault but have an error:
$ export PYTHONPATH=/Applications/LibreOffice.app/Contents/MacOS
i$ python
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import uno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Applications/LibreOffice.app/Contents/MacOS/uno.py", line 21, in
<module>
import pyuno
ImportError: dynamic module does not define init function (initpyuno)
But after having installed Python3 (3.4.1) with brew, I could reproduce
this:
$ python3
Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import uno
Segmentation fault: 11
Julien
--
View this message in context:
http://nabble.documentfoundation.org/Python-UNO-import-on-Mac-broken-tp4140518p4140562.html
Sent from the Dev mailing list archive at Nabble.com.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.