Zotero Extension Freezes OpenOffice
Hi,
I am using OpenOffice.org 2.4 on Kubuntu 8.04. Zotero is installed on Firefox 3.0, and the extension in said openOffice.
Clicking any button on the ooffice extension causes OpenOffice to freeze. I need to kill & restart the application.
Running ooffice from shell, I get the following output when clicking any Zotero extension key:
pythonloader.Loader.activate
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/I2k8iT_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/idoerg/.openoffice.org2/user/uno_packages/cache/uno_packages/I2k8iT_/Zotero.oxt/Scripts/ZoteroRPC.py
checking for existence of /home/idoerg/.openoffice.org2/user/uno_packages/cache/uno_packages/I2k8iT_/Zotero.oxt/Scripts/pythonpath.zip
When checking the Zotero.oxt subdirectory I could not find pythonpath.zip
Help?
I am using OpenOffice.org 2.4 on Kubuntu 8.04. Zotero is installed on Firefox 3.0, and the extension in said openOffice.
Clicking any button on the ooffice extension causes OpenOffice to freeze. I need to kill & restart the application.
Running ooffice from shell, I get the following output when clicking any Zotero extension key:
pythonloader.Loader.activate
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/I2k8iT_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/idoerg/.openoffice.org2/user/uno_packages/cache/uno_packages/I2k8iT_/Zotero.oxt/Scripts/ZoteroRPC.py
checking for existence of /home/idoerg/.openoffice.org2/user/uno_packages/cache/uno_packages/I2k8iT_/Zotero.oxt/Scripts/pythonpath.zip
When checking the Zotero.oxt subdirectory I could not find pythonpath.zip
Help?
THE OLD TEXT:
Annoying! I get the same thing even if I am absolutely sure this worked flawlessly before the holiday. Must have been through some upgrade thing. Only difference is that I am on Ubuntu...
Any takers?
Ketil
Close all running instances of OOo, including the quickstarter (system tray), first. For safety, it would be a good idea to make a backup of your OOo user profile before proceeding, by copying the hidden .openoffice.org2 folder in your home folder to another location while OOo is completely closed.
Then try running the following command in a terminal:
/usr/lib/openoffice/program/unopkg reinstall
That will reinstall all of the extensions currently installed, and it may fix things for you.When running the command, you may see a namespace error about the minimal version of OOo not being defined. That should not prevent the extension from working, though, or at least it does not for me.
Unopkg has a manual page with some more information which can by viewed in a terminal by running:
man unopkg
javaldx: Could not find a Java Runtime Environment!
pythonloader.Loader ctor
pythonloader.Loader.writeRegistryInfo
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
checking for existence of /home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/pythonpath.zip
pythonloader.Loader ctor
pythonloader.Loader.writeRegistryInfo
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader.Loader.activate
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/4Xi6Eq_/Zotero.oxt/Scripts/ZoteroRPC.py
Otherwise, your output looks just like mine if I reinstall, although I also see the namespace error I mentioned earlier. The extension works just as expected for me - I can see all my Zotero data and add references and bibliographies, etc.
You could try resetting you OOo user profile, by closing OOo completely, moving or renaming ~/.openoffice.org2, and then restarting to generate a new "clean" profile. Then install the Zotero extension into this new profile.
Hopefully it will work with a clean OOo profile.
Incidentally, if I run oowriter from a terminal and call the Zotero extension, I see the same output as in the original post in this thread. But the extension works just fine.
Is there any chance that the windows for the extension are hiding underneath a large or maximized Writer window?
pythonloader.Loader ctor
pythonloader.Loader.activate
pythonloader: interpreting url vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/Ebjuio_/Zotero.oxt/Scripts/ZoteroRPC.py
pythonloader: after expansion file:///home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/Ebjuio_/Zotero.oxt/Scripts/ZoteroRPC.py
checking for existence of /home/adam/.openoffice.org2/user/uno_packages/cache/uno_packages/Ebjuio_/Zotero.oxt/Scripts/pythonpath.zip
You could try setting Zotero to show debug output in Firefox, maybe there will be some clues there.
Or maybe one of the Zotero developers will have another approach to suggest. At this point, all I can tell you is that there doesn't seem to be anything unusual in the output you've posted so far.
But given that the documentation says "If the PYTHONPATH environment variable is set by another application, you may need to remove it" -- the PYTHONPATH environment variable appears to be a known point of failure. How do I find out if/where another application has set the PYTHONPATH environment variable?