OpenOffice plugin error

I'm happily using Zotero with OpenOffice 2.4.1 on one computer, but on another I get a BASIC error when trying to insert a reference or set document preferences:

Shell ("osascript -e 'tell application " & Chr(34) & sWindow & Chr(34) & " to activate'")

Also a little window opens that says "BASIC runtime error. File not found."

When I run oowriter in the command line I see:
checking for existence of ~/.ooo-2.0/user/uno_packages/cache/uno_packages/M0ESqn_/Zotero.oxt/Scripts/pythonpath.zip
and in fact this file doesn't exist. The Scripts directory has only ZoteroRPC.py

Looking at the computer that works, I don't see the pythonpath.zip either.

Gentoo has a PYTHONPATH set for the base system, but unsetting it in a shell doesn't help. I don't know what else to try...

TIA
  • Having struggled for a while, I have just found a solution to the same or at least a similar problem. I reset the localstore.rdf file in the Firefox profile folder. After a restart the OOo plugin worked again. (FF 3.0.3, OOo 2.4, Ubuntu 8.4)
  • Thanks for the tip. Unfortunately the problem remains. Also I noticed I get the same error even if Firefox is not open, rather than "no communication".
  • I found the problem. In the Basic script [My Macros & Dialogs].Zotero, at the very top I found a line
    Const ZMAC = True 'Mac
    Since I'm not on a Mac, I changed that to False and the problem disappeared. This change appeared as well in the file
    ~/.ooo-2.0/user/uno_packages/cache/uno_packages/M0ESqn_/Zotero.ox
    t/Zotero/Zotero.xba
    Strange that it came about in the first place...
  • Strange that it came about in the first place...
    You likely downloaded a Mac-specific version by accident.
Sign In or Register to comment.