3.0a6 Open Office Integration Plugin

I recently updated Zotero to 2.0 and the Open Office Integration Plugin to 3.0a6 on my Dell Vista laptop. After update, I began receiving this message: "Zotero OpenOffice Integration could not complete installation because an error occurred. Please ensure that OpenOffice is closed, then restart Firefox." Similarly, when I attempted to create a footnote using OO I was given an incompatibility error.
I read through the forums and, taking the advice there, proceeded to delete the old plugin from the OO (3.2) extension manager which cleared the Zotero functions out of OO. I deleted Firefox (3.6) cache, uninstalled 3.0a6, made sure through the task manager that oo was not running and reinstalled the OO integration plugin. Upon Firefox restart, I received the same error message. And, unfortunately, OO cannot find the extension anywhere and neither can I when I do a search for "Zotero".
When I run an error report I get this message:
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIProcess.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero-openoffice-integration/content/browser-overlay.js :: ZoteroOpenOfficeIntegration_installComponents :: line 284" data: no]"]

Report #1551565632

This seems similar to other problems reported on these forums, but I have not been able to trace it out. I tested my java, which tested fine. I checked my pathways:
Java UNO: file:///C:/Program%20Files/OpenOffice.org%203/program/
soffice: file:///C:/Program%20Files/OpenOffice.org%203/URE/Java/
But these seem right based on other discussion threads.
When I try to "reinstall openoffice components" via the Firefox add-on window I, once again, am given: "Zotero OpenOffice Integration could not complete installation because an error occurred. Please ensure that OpenOffice is closed, then restart Firefox."

I have tried completely uninstalling the plugin, closing OO, and then reinstalling/restarting several times.

Oddly, Zotero and the integration plugin work fine on my XP machine.

I'd appreciate any help - Thanks.
  • If you're receiving that error, the soffice pref probably isn't correct. Have you checked those paths in your filesystem (i.e., within C:\Program Files\Openoffice.org 3)?
  • That was it. The pathways were switched. Odd.
    Thanks, it works fine now.
  • I am having the same problem, and I don't find a way out...

    I am running:
    Ubuntu 9.10
    OpenOffice 3.1.1 (from the karmic repositories)
    Firefox 3.5.8 (from the karmic repositories)
    Zotero 2.0
    3.0a6 Open Office Integration Plugin
    java Java 6 Update 15

    soffice executable directory is file:///usr/lib/openoffice/program/
    Java UNO runtime directory is file:///usr/share/java/openoffice/

    Upon a fresh re-install of OOo, Zotero and OOo Integration plugin, I don't get the Zotero icons in OOo.

    When launching the preferences button of Open Office Integration Plugin, I get a "An empty string was transmitted to getElementById()" error message in FFox error console (my translation, I get the error message in french). After reinstalling the OpenOffice.org component, I get the icon bar.

    When clicking a first time to the "insert citation icon", I get a "Firefox has not been able to load a necessary component to communicate with your word processor. Please check that the appropriate FFox extension is installed and try again" (again my translation).
    The following attempt to insert a citation, I get a "Zotero experienced an error updating your document."
    The FFox error console says "this.javaObj is undefined" (source file file:///home/coulier/.mozilla/firefox/vgcq6cwf.default/extensions/zoteroOpenOfficeIntegration@zotero.org/components/zoteroOpenOfficeIntegration.js Ligne : 224)

    Any idea ?

    François
  • @ f.coulier

    I have a similar configuration and I had the same problem.

    Check if Firefox detects your Sun Java. You may have to install the Java plugin manually. This solved the issue for me. Follow the instructions here:

    http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html
  • Java plugin is detected by Firefox.
    About:plugins reports Java(TM) Plug-in 1.6.0_15

    Looking at the plugins directories, I have :
    $ ls -l /usr/lib/mozilla-firefox/plugins/
    total 180
    lrwxrwxrwx 1 root root 57 2010-03-15 09:42 libnpjp2.so -> /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so
    lrwxrwxrwx 1 root root 41 2010-03-11 17:12 libnpsoplugin.so -> ../../openoffice/program/libnpsoplugin.so


    However, I also have :
    ls -l /usr/lib/mozilla/plugins/
    lrwxrwxrwx 1 root root 39 2008-10-14 10:45 libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so

    This puzzles me because I tried to remove one symbolic link, then the other, then both, and this did not change the behaviour of Zotero component, neither did it change the detection of Java Plugins by Firefox (about:plugins)....
    I have no java plugins in ~/.mozilla/plugins

    François
  • edited March 15, 2010
    I installed Sun Java and then made a link from

    /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so

    to

    ~/.mozilla/plugins

    It did the job for me.

    I don't really know what more to tell you. Maybe if you can't make it work, you can revert to an older version of Zotero or try Mendeley Desktop. It does a similar job (for academic papers and citations; you can also import data from Zotero) and also has OpenOffice integration but I still use Zotero, because I am used to it.
  • Given that Mendeley is currently using (outdated) Zotero code in its OpenOffice plugin, it may reintroduce all the bugs that we fixed in the new architecture. In other words, it would be like going back to the Zotero 1.0 plugins.
  • I ended up removing ~/.mozilla directory, restarting Firefox, reinstalling zotero and zotero OpenOffice.org plugins, and everything is back to normal.

    This solved th problem for me, although I don't really know what went wrong...

    François
Sign In or Register to comment.