[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#553370: [openoffice.org-wiki-publisher] Error during upgrade from 1.0+OOo3.1.1-2 to 1.0+OOo3.1.1-5



severity 553370 serious
tag 553370 missing dependency on liblucene2-java
tag 553370 + pending
thanks

On Fri, Oct 30, 2009 at 06:23:14PM +0100, Thomas Hackert wrote:
> Vorbereiten zum Ersetzen von openoffice.org-wiki-publisher
> 1.0+OOo3.1.1-2 (durch
> .../openoffice.org-wiki-publisher_1.0+OOo3.1.1-5_all.deb) ...
> 
> ERROR: There is no such extension deployed: com.sun.wiki-publisher
> 
> unopkg failed.
> 
> ERROR: There is no such extension deployed: com.sun.wiki-publisher
> Exception details:                                                
> (com.sun.star.lang.IllegalArgumentException) { { Message = "There is
> no such extension deployed: com.sun.wiki-publisher", Context =
> (com.sun.star.uno.XInterface) @1e7f7a0 }, ArgumentPosition = (short)
> -1 }        
> 
> unopkg failed.

So this is because the extension was not properly installed before.
[ For whatever reason, maybe because you tried a upgrade while OOo is running
and unopkg would not allow that (but it doesn't return != 0 so the
install continues and the package system thinks it's all OK :-( ]

Since 3.1.1-3 the packages will warn if you have a OOo running.

> there is another message:
> Richte openoffice.org-wiki-publisher ein (1.0+OOo3.1.1-5) ...
> Copying: wiki-publisher.oxt                                  
> Enabling: Wiki Publisher                                     
>  Enabling: help                                              
> 
> ERROR: (com.sun.star.deployment.DeploymentException) { { Message =
> "An error occurred while enabling: help", Context =
> (com.sun.star.uno.XInterface) @26fe540 }, Cause = (any) {
> (com.sun.star.loader.CannotActivateFactoryException) { { Message =
> "Can not activate the factory for com.sun.star.help.HelpIndexer
> because java.lang.NoClassDefFoundError:
> org/apache/lucene/analysis/cjk/CJKAnalyzer", Context =
> (com.sun.star.uno.XInterface) @0 } } } }                                                      
[...]
Obviously you miss lucene; and indeed the dependency is missing... :-(
Install it for now, will add the dep in the next upload.

That registering a extension need it is complete nonsense, but that thankfully
will be fixed in 3.2; see http://qa.openoffice.org/issues/show_bug.cgi?id=98680

[...]
> --- Output from package bug script ---
> 

So you don't have the extension properly installed. As said:
Install liblucene2-java and reinstall -wiki-publisher to make it
registered correctly.

Grüße/Regards,

Rene
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: