Error in OO integration

This is an error I can't get rid off. When I press any button on the OOo Zotero toolbar, nothing happens in OOo and I get the following error message in Firefox:

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

Firefox 3.0.14
OOo 2.4.1
Zotero OOo Integration 3.0a1.r5247
Zotero 2.0b7.2
Java Version 1.6.0_16 from Sun Microsystems Inc.
Ubuntu 8.04 (Hardy)
Kernel 2.6.24-24

Thanks for any help.
  • edited October 1, 2009
    This is almost certainly a Java issue. Have you tried installing sun-java6-plugin and uninstalling icedtea6-plugin? If you've already done that, can you provide a report ID?
  • The sun-java6-plugin is already the newest version.
    I do not have the icedtea6 plugin installed.
  • Report ID, then?
  • Report ID 886697109

    (Not sure if it reports what you need!!!)

    Errors obtained in the Error Console of Firefox:

    Error: java is undefined
    Source File: file:///home/jsousa/.mozilla/firefox/zeinc815.default/extensions/zoteroOpenOfficeIntegration@zotero.org/components/zoteroOpenOfficeIntegration.js
    Line: 110

    and:

    Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/integration.js :: execCommand :: line 127" data: no]
    Source File: chrome://zotero/content/xpcom/integration.js
    Line: 127
  • edited October 1, 2009
    Does Java work here? If so, does this page also work?
  • edited October 1, 2009
    In the Integration preferences I've got the following:

    Java UNO Runtime Directory: file:///usr/lib/openoffice/program/classes/
    soffice Executable Directory: file:///usr/lib/openoffice/program/

    I checked that the second path really contains the soffice bin.
    The first directory contains:

    agenda.jar jut.jar unoil.jar
    bsh.jar letter.jar unoloader.jar
    classes.jar query.jar web.jar
    commonwizards.jar report.jar xalan.jar
    fax.jar ridl.jar xercesImpl.jar
    form.jar ScriptFramework.jar XMergeBridge.jar
    java_uno.jar ScriptProviderForBeanShell.jar xmerge.jar
    js.jar ScriptProviderForJava.jar xml-apis.jar
    juh.jar ScriptProviderForJavaScript.jar XSLTFilter.jar
    jurt.jar table.jar XSLTValidate.jar
  • edited October 1, 2009
    About the tests on Java.
    The first test correctly shows the Java version on the pink box.
    The second test failed. Then I restarted Firefox and worked fine so I decided to give it a try on the OOo... Firefox died!
    After killing the Firefox process I restarted it and the test went fine.
    It works fine even after starting OOo, as long as I don't touch any button of the OOo Zotero toolbar.
  • edited October 1, 2009
    Can you see if there's any output if you start Firefox from the command line and then try to insert a citation?
  • edited October 1, 2009
    When I start Firefox from the command line, the second Java test works fine as long I don't touch the buttons on the Zotero toolbox in OOo.

    When I try to insert a citation, before the Firefox subsequent death, I get the following messages in the terminal:

    zoteroOpenOfficeIntegration: Initialized.

    zoteroOpenOfficeIntegration: Instantiating org.zotero.integration.ooo.Document in response to getActiveDocument call

    zoteroOpenOfficeIntegration: Passing through getDocumentData call
  • edited October 2, 2009
    Tonight I received some important system updates on OOo (including Java) and Python UNO... I thought they were providential updates but they weren't!

    The problem persists. As soon I press a button on the Zotero toolbox in OOo, the Firefox crashes...
  • Help please...
  • This should be fixed in the OpenOffice trunk XPI, now available. You should switch back to 3.0a5 when it comes out.
  • Not done yet!

    Still doesn't work completely. As soon as I press a button on the Zotero toolbox in OOo, the Firefox doesn't crash but stops working and no citation is inserted.
    However, there was a change in the overall behavior: If I close OOo, Firefox resumes working and Java scripts and applets are working fine.

    How can I be sure that OOo is working with the recently installed Zotero OOo Integration?
  • You're right. I forgot to update a file in that version, which meant that things weren't working right. Try updating the trunk again, either by following that link or by clicking Find Updates in Tools->Add-ons->Extensions.
  • Thank you very much.

    Everything seems to be working just fine.

    THE END! :o)

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.