incompatible plugin

Hi, just got this error message that the OO plugin 2.0a2 is incompatible with the dev version of Zotero 2.0b7.r4959.
Is there a newer version of the plugin, or is this a minor Zotero bug?
At the moment I can't edit my document.
Regards, Jon
  • edited November 4, 2009
    [trunk links removed — official plugins now available]

    Brand new, and completely new architectures. Use with caution. Let us know how it goes.

    I believe the Linux version currently requires the Sun Java 6 Plugin for Firefox (e.g., the sun-java6-plugin package on Ubuntu).
  • Exciting and shiny! Thanks Dan, will use with (some) caution and let you know how it goes.
  • Hi Dan, not sure if you want me to start a new thread, or rename this one.
    Installed the new add-on (had a thick moment before realizing that it installs into Firefox not OO ...). No problem starting a new document and changing its style but when I try to edit a document I was working on yesterday (it's not a big or complex document - only half a dozen refs or so) I get this error: "Zotero experienced an error updating your documents"

    Then realized that I could report errors through Zotero. Yay!

    [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "cleanup"' when calling method: [zoteroIntegrationDocument::cleanup]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: chrome://zotero/content/xpcom/integration.js :: anonymous :: line 649" data: no]" {file: "chrome://zotero/content/xpcom/integration.js" line: 649}]

    I like being able to report 'plugin' errors in the same way as the rest of Zotero.
    Error id 523160735

    Regards, Jon
  • Hi Dan, uninstalled the OpenOffice integration add-on. Uninstalled the extension from open office but now I can't get it to reinstall, by which I mean when I reinstall the addon to Firefox, it doesn't install the extension to openoffice as it did the first time.

    Regards, Jon.
  • Clear extensions.zoteroOpenOfficeIntegration.urePath and extensions.zoteroOpenOfficeIntegration.sofficePath in about:config.
  • That did it, thanks.
  • Tried opening a different old document, just the one reference in it.
    Got this error when I tried to edit the citation:

    [JavaScript Error: "splitRe.split is not a function" {file: "chrome://zotero/content/xpcom/integration.js" line: 1544}]

    error report 398971193
  • Pull down the latest Zotero XPI.
  • Tried that, now using r4963.
    Clicked in the one reference and it told me that it was going to permanently upgrade the document, I clicked OK and a big error screen that I couldn't copy appears; top bit says

    An error occurered communicating with Zotero:
    java.lang.Exception: invalid field type Field at

    then a lot more. But I have no problem communicating with Zotero in a new document.

    and this error in Zotero

    [JavaScript Error: "fields is null" {file: "chrome://zotero/content/xpcom/integration.js" line: 290}]

    report id. 2004468060

    Off to bed, let me know if there's anything else I can do in the morning.
    Regards, Jon.
  • The latest builds might fix this.
  • Hi Dan, yes r4969 upgraded the document fine.
    I did see some errors in report errors though, so this is just an FYI

    Thanks, Jon

    report id 934317505

    Failed to load XPCOM component: /home/jon/.mozilla/firefox/k3934mle.default/extensions/zoteroOpenOfficeIntegration@zotero.org/components/zoteroIntegration.h

    [JavaScript Error: "this._fields[i] is undefined" {file: "chrome://zotero/content/xpcom/integration.js" line: 572}]

    [JavaScript Error: "this._editor is undefined" {file: "chrome://zotero/content/bindings/styled-textbox.xml" line: 152}]
  • Hi...thanks for the pointer to the new test plugins OOo 4992 / Word 4993...have tested basic functionality in Windows Vista / OOo 3.1.1RC2 and OOo Dev3.2 and MSWord 2007 and on Ubuntu 9.04 / OOo 3.0 (needed the Java 6 plugin).... moved same file and refreshed and edited citations (bookmark mode) and bibliography successfully between the different platforms/programs. It is a bit slower on initial citation insert than the old plugin, particularly on the eeepc.. :)

    thanks and rgds
    laurie
  • edited September 9, 2009
    @Laurief,
    You said you got this working on Ubuntu 9.04. I have the 3.1 ppa open office debs installed, so I dont know if thats complicating things, but where did you locate the 'Java URE Directory' and the 'soffice Executable Directory'. They are the two values mentioned above in about:config -
    extensions.zoteroOpenOfficeIntegration.urePath extensions.zoteroOpenOfficeIntegration.sofficePath in about:config

    If tried a few obvious spots (/opt/openoffice.org3; /usr/bin; /usr/lib/jvm etc) but to no avail. All i've come up with is

    "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."

    Could you tell me what you have for those Preference Names above?

    Thanks in advance,
    drejom
  • Sure:
    file:///usr/lib/openoffice/program/
    file:///usr/lib/openoffice/basis-link/ure-link/share/java/

    Hope that helps,
    Jon.
  • edited September 9, 2009
    The "soffice Executable Directory" should be the directory containing soffice. You might try using "locate soffice" to find it. The "Java URE Directory" should contain a few jar files, including ridl.jar, unoloader.jar, juh.jar, and jurt.jar. Again, you might try using "locate ridl.jar" to find this directory. If you can let us know where these files are on your system, we'll add them to the search path for the final version, since there are probably others out there like you.
  • Thanks for your quick replies, I just tried Jon's suggestion and that worked first up. Back to writing me thesis now.
    Cheers
  • edited November 3, 2009
    error 919343221
    I'm not sure it's the same issue....
    I has something go bad during the creation of a reference and now I get a long java popop in openoffice and this error in firefox..

    this happesn regardless of which of the zotero buttons i press in openoffice... the console for firefox gives me this: zoteroOpenOfficeIntegration: Instantiating org.zotero.integration.ooo.Document in response to getActiveDocument call

    zoteroOpenOfficeIntegration: Passing through getDocumentData call

    zoteroOpenOfficeIntegration: Instantiating org.zotero.integration.ooo.MarkEnumerator in response to getFields call

    I just reinstalled the openoffice plugin but to no avail

    Email sent as per instruction.
  • edited November 3, 2009
    You'll need to post what's in the Java popup, or send a screenshot or your document to support@zot..org with a link to this thread.
  • Short term solution so far is creating a new document, setting preferences and then copying my text over there... this gives me a usable document that can bear further references... however other information that i'm using in my writing gets lost this way (editing time, revisions etc)

    Thus, I have overcome the immediate hurry, but it should probably e investigated in order to "catch" it for future releases.

    again, thanks for a useful product and the quick response.
  • I think this might relate to the change tracking feature in openoffice.. I was using it to track how much work I was getting done in a day and the problem seems to occur in relation to turning change tracking on.
This discussion has been closed.