Unopkg fails to register extension (com.sun.star.registry.CannotRegisterImplementationException)

Sebastian Humenda shumenda at gmx.de
Tue May 15 08:39:38 PDT 2012


Hello Stephan,

Stephan Bergmann <sbergman at redhat.com> schrieb am 07.05.2012, 10:59 +0200:
>On 05/06/2012 09:47 PM, Sebastian Humenda wrote:
>>I hope I'm on the right list for my question.
>>There is an accessibility checker for Libreoffice documents which I package for
>>Debian GNU/Linux. In Bug 668376
>>(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668376) the package fails to
>>install because unopkg causes a mysterious error (see output at the bottom of
>>bug the report).
>>I've discussed it with the upstream developer of AccessODF, but he said there's
>>no reason why an error should occure. So I have two questions:
>>1. Can I somehow optain even more error output then I get with "-v" during
>>   install?
>>2. Could it even be a unopkg/Libreoffice bug? The upstream developer and I can
>>   install the package with no problem, only the bug reporter had those errors.
>>   We tested the installation of corse in a clean chroot.
>
>Looking into AccessODF.oxt as included in
><http://crustulus.de/accessodf_0.1-1_all.deb>, the actively
>registered accessodf-addon.jar uses classes from lib/accessodf.jar
>("java.lang.NoClassDefFoundError: be/docarch/accessodf/Constants"),
>but the manifest Class-Path of accessodf-addon.jar reads
>
>  Class-Path: file:///usr/share/java/accessodf.jar
>
>instead of
>
>  Class-Path: lib/accessodf.jar
Thanks for the hint, I'll investigate this.
The file file:///usr/share/java/accessodf.jar is present when unopkg is called.
There should be no reason that it cannot find this file during registration.
Is it more common to have those dependencies in the Jar file or is externally
also ok?

Thanks
Sebastian
-- 
Blog (English | Deutsch): http://crustulus.de/blog
Teste das freie Latein-Deutsch-Wörterbuch:
  http://freedict.org/dict?Form=dict3&Database=lat-deu
Freedict: Free multilingual dictionary databases - http://www.freedict.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120515/2f0d7113/attachment.pgp>


More information about the LibreOffice mailing list