[Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

Dag Wieers dag at wieers.com
Thu Feb 2 07:47:59 PST 2012


Hi,

I have a problem using the python UNO interface as shipping with LibO 
3.5RC2, I do not have the same problem using LibO 3.4.5 or previous 
versions (going back to OpenOffice 3.2.1).

When running the shipped python binary with the shipped modules/libraries, 
python bails out with:

 	terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

This does not happen on Windows, but it does happen on a RHEL6 64bit using 
the provided RPM packages.

Here is the complete environment used:

     python=/opt/libreoffice3.5/program/python.bin
     python-version=2.6.1 (r261:67515, Jan 24 2012, 18:36:41)
     [GCC 4.2.4]
     URE_BOOTSTRAP=vnd.sun.star.pathname:/opt/libreoffice3.5/program/fundamentalrc
     UNO_PATH=/opt/libreoffice3.5/program
     PATH=/opt/libreoffice3.5/program:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/dag/bin
     PYTHONHOME=/opt/libreoffice3.5/program/python-core-2.6.1
     PYTHONPATH=/opt/libreoffice3.5/program/python-core-2.6.1/lib:/opt/libreoffice3.5/program/python-core-2.6.1/lib/site-packages:/opt/libreoffice3.5/program/python-core-2.6.1/lib/lib-tk:/opt/libreoffice3.5/program/python-core-2.6.1/lib/lib-dynload:/opt/libreoffice3.5/program
     LD_LIBRARY_PATH=/opt/libreoffice3.5/program:/opt/libreoffice3.5/ure-link/lib:/opt/libreoffice3.5/program:/opt/libreoffice3.5/ure-link/lib
     terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'
     Aborted (core dumped)

The problem starts immediately after doing the 'import uno'.

Doing the same on LibO 3.4.5, it works fine. The environment used for LibO 
3.4 is:

     python=/opt/libreoffice3.4/basis-link/program/python.bin
     python-version=2.6.1 (r261:67515, Jan  3 2012, 18:08:21)
     [GCC 4.2.4]
     URE_BOOTSTRAP=vnd.sun.star.pathname:/opt/libreoffice3.4/program/fundamentalrc
     UNO_PATH=/opt/libreoffice3.4/basis-link/program
     PATH=/opt/libreoffice3.4/program:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/dag/bin
     PYTHONHOME=/opt/libreoffice3.4/basis-link/program/python-core-2.6.1
     PYTHONPATH=/opt/libreoffice3.4/basis-link/program/python-core-2.6.1/lib:/opt/libreoffice3.4/basis-link/program/python-core-2.6.1/lib/site-packages:/opt/libreoffice3.4/basis-link/program/python-core-2.6.1/lib/lib-tk:/opt/libreoffice3.4/basis-link/program/python-core-2.6.1/lib/lib-dynload:/opt/libreoffice3.4/basis-link/program
     LD_LIBRARY_PATH=/opt/libreoffice3.4/basis-link/program:/opt/libreoffice3.4/basis-link/ure-link/lib:/opt/libreoffice3.4/basis-link/program:/opt/libreoffice3.4/basis-link/ure-link/lib
     Office base location: /opt/libreoffice3.4
     Office binary location: /opt/libreoffice3.4/basis-link/program
     LibreOffice listener successfully started. (pid=14183)
     ....

Beware that the environment is quite different due to the fact that 
basis-link/ (or basis/) has been removed from the directory structure.

Kind regards,
-- 
-- dag wieers, dag at wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info at dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]


More information about the LibreOffice mailing list