OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
lafleur
Posts: 3
Joined: Tue Jan 22, 2008 9:26 pm

OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by lafleur »

I bought a spell checker software ("Duden Korrektor 4") which was offered for Ubuntu 6.06 "dapper" in connection with Openoffice 2.0 and comes as three *.deb files trying to install an Openoffice Extension. In a forum, I saw that the software also works with Ubuntu 7.10 "gutsy" and Openoffice 2.3.

However, with my Openoffice 2.3.1 under Kanotix 2007 RC6 "Thorhammer" (which bases on Knoppix, which bases on Debian etch), the installation of the *.deb files worked, but the post-install script - which tries to activate an "uno.pkg" Openoffice Extension - returns the error stated below. The same happens when I try to activate the extension by using "unopkg gui". I even exported the extension to an "oxt" file with the same result. The Extension Managers shows the new extension, but it is deactivated and cannot be activated.

Normally, I can use any Ubuntu "gutsy" package. I wonder where is the difference between Ubuntu and Kanotix, which affects the activation of extensions.

I guess it is only a tiny difference, such as a missing library or a wrong entry in a configuration file. Unfortunately, the manufacturer offers support only for Ubuntu 6.06 and Openoffice.org 2.0.

Does anybody have an idea?

btw: the extension file path stated in the error message exists!

-------
post install script:

Code: Select all

/usr/lib/openoffice/program/unopkg add -v --shared /usr/share/doos/doos4.0.1.uno.pkg
-------
Error Message:
Aktiviere: doos4.0.1.uno.pkg
Aktiviere: DOOS
Aktiviere: doos.xcs
Aktiviere: doos.xcu
Aktiviere: Addons.xcu
Aktiviere: Linguistic.xcu
Aktiviere: ProtocolHandler.xcu
Aktiviere: WriterWindowState.xcu
Aktiviere: doos4.0.1.uno.so

ERROR: (com.sun.star.deployment.DeploymentException) { { Message = "Fehler beim Aktivieren von: doos4.0.1.uno.so", Context = (com.sun.star.uno.XInterface) @-4bd20f78 }, Cause = (any) { (com.sun.star.registry.CannotRegisterImplementationException) { { Message = "loading component library failed: file: ///opt/openoffice.org2.3/program/../share/uno_packages/cache/uno_packages/TwOu8G_/doos4.0.1.uno.pkg/linux_x86.plt/doos4.0.1.uno.so", Context = (com.sun.star.uno.XInterface) @0 } } } }
rollback...
Deaktiviere: WriterWindowState.xcu
Deaktiviere: ProtocolHandler.xcu
Deaktiviere: Linguistic.xcu
Deaktiviere: Addons.xcu
Deaktiviere: doos.xcu
Deaktiviere: doos.xcs
Deaktiviere: DOOS
rollback finished.

unopkg failed.
dpkg: Fehler beim Bearbeiten von doos (--install):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
doos
sybille
Volunteer
Posts: 122
Joined: Sat Jan 05, 2008 12:21 pm
Location: France

Re: OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by sybille »

Hi,
I use a proprietary application for French grammar checking and dictionary in Linux that has an OOo extension. (It's called Antidote Rx, and it actually works quite well, but I'd prefer to use GPL software.)

I've used Antidote Rx in Ubuntu, which is a supported distribution, and Gentoo, which is not. In order to make the extension run in Gentoo with my self-compiled version of OOo, I had to do a little bit of hacking. In particular, I had to copy some libraries from the official OOo tarballs into my OOo directory in Gentoo. It took a fair amount of web research and trial-and-error to figure things out.

If I were in your situation, here's what I'd try. First, I would uninstall the Kanotix version of OOo and install the official OOo packages from Sun. Also think of deleting your user configuration files for OOo in your home directory. Then try to install your Duden Korrektor 4 extension and see if it works.

If it does work with the official builds, you can just choose to continue to use them. Or you can try to compare the official packages and the Kanotix packages to see what differences there may be, and do some experimentation with copying libraries over. You might also try to see if there are any errors recorded in the .Xsession-errors file in your home directory, if there is one, when you try to enable the extension.

Or you could try the same kind of thing with Ubuntu OOo packages.

Because it's proprietary software, there's only so much you can do. If you can't get anywhere with it, you might try contacting the publisher to see if there is any help they can give you.
Last edited by sybille on Thu Jan 24, 2008 11:40 am, edited 1 time in total.
If your problem has been solved, please edit this thread's initial post and add "[Solved]" to the subject line. Thanks!
-------
About Ubuntu Linux
Zotero, for research and bibliography management with OOo.
OOo 2.4.X on Ubuntu 8.x + None needed :)
lafleur
Posts: 3
Joined: Tue Jan 22, 2008 9:26 pm

Re: OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by lafleur »

Thanks a lot - I will try.

If I were in your situation, here's what I'd try. First, I would uninstall the Kanotix version of OOo and install the official OOo packages from Sun.
Do you mean this version:
http://download.openoffice.org/2.3.1/index.html

This is what I installed. I even had to remove the Debian-KDE-integration to be able to install ooo-common, which is needed by one of the Duden packages. So it seems the original suite doesn't work well with Duden.

But I will try removing all OOO files and using the Ubuntu repository to install the Ubuntu version of OOO. I will report this weekend.

So long
Alexander
sybille
Volunteer
Posts: 122
Joined: Sat Jan 05, 2008 12:21 pm
Location: France

Re: OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by sybille »

Yes, I did mean the packages from the source you listed. From your first post, I thought you were using packages specifically for Kanotix.

If Ubuntu has been reported to work, then I'd say try the Ubuntu OOo packages. But it's also possible that the problem lies with the version of OOo or the operating system you're using (or both). Since you've said that the app has worked successfully on OOo 2.0 on Dapper, you might need to try that specific configuration.
If your problem has been solved, please edit this thread's initial post and add "[Solved]" to the subject line. Thanks!
-------
About Ubuntu Linux
Zotero, for research and bibliography management with OOo.
OOo 2.4.X on Ubuntu 8.x + None needed :)
Wolfgang_J
Posts: 1
Joined: Thu Jan 24, 2008 9:07 pm

Re: OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by Wolfgang_J »

Hi,
I have the same problem with my gentoo-installation.
The first step was to check, if the LDPATH is ok.
The mess is, that ooo2.3.1 on M$ works with Duden-Korrektor 4.
I posted a service-request, but I think to talk with /dev/null
Wolfgang
lafleur
Posts: 3
Joined: Tue Jan 22, 2008 9:26 pm

Re: OOO-Extension for Ubuntu but not for Kanotix (Knoppix)?

Post by lafleur »

(Un) Success report:

Installing OOO into Kanotix from the Ubuntu repositories failed - the Ubuntu packages use "breaks" (whatever these are) which are not supported by Kanotix' dpkg. Updating dpkg itself failed for the same reason. Even installing ooo from the Kanotix repositories failed, because some Ubuntu packages were bothering. Removing these also removed the whole of the KDE environment: 180 packages, 500 MB disk space freed! So much about the similarities between the various Debian derivates!!

After having installed KDE and OOO from Kanotix' repositories, I was able to install my spell checking software! However, it still didn't work because it fancied itself being a demo version having expired in 2006. The usual remedy (copying licence.txt into a certain directory) failed. So I ended up moving to Ubuntu completely, now everything works fine, including my spell checker.

Thanks for helping!
Alexander

P.S.: I didn't dare updating Ubuntu's OOO 2.3.0 to the official 2.3.1, because I was (again...) advised to remove the distribution version first!

PPS: Debian/Knoppix/Ubuntu developers: unite!

PPPS: @Wolfgang: Maybe you too installed some software which did'nt come from the gentoo repository. Maybe it helps going back?
Post Reply