[Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'
Dag Wieers
dag at wieers.com
Fri Feb 3 07:46:41 PST 2012
On Fri, 3 Feb 2012, Petr Mladek wrote:
> Dag Wieers píše v Pá 03. 02. 2012 v 11:52 +0100:
>
>> This issue still exist in the LibO 3.5RC3 RPM builds, making the python
>> UNO interface unusable :-/
>
> I have tried to send documents via E-mail using "Tool/Mail Merge
> Wizard..." with LO-3.5.0-rc3 on SLED11-SP1-x86_64. It works well. This
> functionality is written in python, so it kind of works.
>
> I am a bit mixed by your description of the problem. How do you exactly
> call the pyuno stuff? Could you please provide a simple script that
> could be used to reproduce it?
I run it exactly as described in the mail. The only thing performed was:
import uno
after which it crashes. This does not happen on the same system with the
LibO 3.4.5 installation and hasn't happened on previous installations
either. (Going back to OpenOffice 3.2.0)
Here is a very simple example without influencing the environment:
----
[dag at moria ~]$ /opt/libreoffice3.5/program/python
Python 2.6.1 (r261:67515, Feb 1 2012, 15:06:46)
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)
----
Doing this for LibO 3.4.5 works as expected:
----
[dag at moria ~]$ /opt/libreoffice3.4/program/python
Python 2.6.1 (r261:67515, Jan 3 2012, 18:08:21)
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>> print dir(uno)
['Any', 'Bool', 'ByteSequence', 'Char', 'Enum', 'Type', '__builtin__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_g_ctx', '_g_delegatee', '_impl_extractName', '_uno_extract_printable_stacktrace', '_uno_import', '_uno_struct__eq__', '_uno_struct__getattr__', '_uno_struct__init__', '_uno_struct__repr__', '_uno_struct__setattr__', '_uno_struct__str__', 'absolutize', 'createUnoStruct', 'fileUrlToSystemPath', 'generateUuid', 'getClass', 'getComponentContext', 'getConstantByName', 'getCurrentContext', 'getTypeByName', 'invoke', 'isInterface', 'pyuno', 'setCurrentContext', 'socket', 'sys', 'systemPathToFileUrl']
----
It cannot be demonstrated more simple than that.
----
[dag at moria ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[dag at moria ~]$ uname -a
Linux moria.gent.wieers.com 3.2.2-0.el6.elrepo.x86_64 #1 SMP Fri Jan 27 12:37:49 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
----
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