tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index] 2.4.1: trouble with python scripting (pyuno)

I wanted to use python with OOo. It seems not to work.

I have e.g. taken a script ( from

marko@prpad% export PYTHONPATH=/usr/pkg/OpenOffice.org2.4.1/program/     
marko@prpad% python ~/.openoffice.org2/user/Scripts/python/ -h
Traceback (most recent call last):
  File "/home/marko/.openoffice.org2/user/Scripts/python/", line 2, 
in ?
    import uno
  File "/usr/pkg/OpenOffice.org2.4.1/program/", line 37, in ?
    import pyuno
SystemError: dynamic module not initialized properly

From only a very quick glance into this I would suspect that pyuno and
my systems python are built with different versions of gcc and that
maybe this is what leads to the problem.

Has anyone seen this before? ...even fixed it?

Thanks and best regards,


Attachment: pgpPiEVINQIRG.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index