[Solved!] OpenOffice integration "Firefox could not load the component"

Hi all,
I have the Zotero OpenOffice integration installed. The Zotero toolbar appears in OpenOffice, but when I click any of the buttons, I get this error:

"Firefox could not load the component required to communicate with your word processor. Please ensure that the appropriate Firefox extension is installed and try again."

I'm using:
* Ubuntu 10.04
* Firefox 3.6.8
* OpenOffice.org 3.2.0
* The Sun Java plugin (http://javatester.org/version.html reports "Java Version: 1.6.0_20 from Sun Microsystems Inc.")
* Zotero 2.0.3
* Zotero OpenOffice Integration 3.0a8

My Java UNO Runtime Directory is set to file:///usr/lib/ure/share/java/ (this directory contains ridl.jar).
My soffice Executable Directory is set to file:///usr/lib/openoffice/program/ (this directory contains soffice).

I have posted an error report; the report ID is 1658743246.

I was using the OpenOffice integration successfully in Ubuntu 8.04. After I upgraded Ubuntu to 10.04, it stopped working. At first I assumed this was the OpenJDK issue, but I have completely removed OpenJDK from my system and replaced it with the Sun JRE. I'm not completely sure that it was the Ubuntu upgrade that broke Zotero, but it seems suspicious.

Can anyone suggest anything I could try to resolve this problem? Any settings or log files I could check?

Thanks!
  • Brilliant, thank you!
    I ran the following command to just disable the AppArmor Firefox profile:

    sudo aa-complain /etc/apparmor.d/usr.bin.firefox

    Now the integration works! Thanks for suggesting that, it would have taken me ages to find it otherwise :-)
  • I've updated the troubleshooting page with that command. Thanks.
  • edited November 15, 2010
    I'm using:
    * Ubuntu 10.10
    * Firefox 3.6.12
    * OpenOffice.org 3.2.1

    * The Sun Java plugin (http://javatester.org/version.html reports "Java Version: 1.6.0_20 from Sun Microsystems Inc.")

    * Zotero 2.0.9
    * Zotero OpenOffice Integration 3.0b2

    My Java UNO Runtime Directory is set to file:///usr/share/java/openoffice/ (this directory contains ridl.jar)

    My soffice Executable Directory is set to file:///usr/lib/openoffice/program/ (this directory contains soffice).

    error report; the report ID is 1864467681

    I have disabled the Apparmour Firefox as well.

    However I still get

    "Firefox could not load the component required to communicate with your word processor. Please ensure that the appropriate Firefox extension is installed and try again."

    I cannot believe working on Windows Vista and Open office was a breeze.
  • Here is the thread that got it working for me (I'm on the same OS version):

    http://forums.zotero.org/discussion/11429/zotero-in-ubuntu-104-lucid-lynx/#24

    The key steps seemed to be these (adjusted for the current sun java version):

    sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
    sudo update-alternatives --config java
    sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.18/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

    Hope this helps.
Sign In or Register to comment.