LibreOffice plugin toolbar buttons do not respond
This discussion was created from comments split from: Zotero toolbar is not working in LibreOffice.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I am using Zotero 5.0.74 on Ubuntu 18.04.3 / KDE neon User Edition 5.16. I first noticed the problem today when using LibreOffice 6.3.0.4 installed from the LibreOffice.org deb packages, but I have not used Zotero with LibreOffice in quite some time, so I do not know in which versions the problem first appeared.
At first I did not have libreoffice-java-common installed, so I installed that package. No luck. I tried removing the LibreOffice plugin from within LibreOffice, then reinstalling from within Zotero. No luck. I tried disabling, then re-enabling the plugin from within LibreOffice. No luck there either. I upgraded LibreOffice to 6.3.1.2 from the LibreOffice "Fresh" PPA, no luck. I repeated all of the above but still no luck.
I removed the plugin from within LibreOffice then did a manual installation of the plugin from within LibreOffice. After that, I did receive an error message: "The version of the Zotero LibreOffice Integration component installed within LibreOffice, OpenOffice.org, or NeoOffice does not appear to match the version installed in Zotero. Please ensure both components are up to date and try again." I'm not sure if the error occurred in response to trying to enter a citation, or just starting LibreOffice. I cannot get the error to re-occur. If I try to insert a citation, LibreOffice hangs and I eventually have to kill it.
I verified that I am running Zotero 5.0.74 via Help -> About Zotero. I had installed the plugin from /opt/zotero/extensions/zoteroOpenOfficeIntegration@zotero.org/install/Zotero_OpenOffice_Integration.oxt. I checked the application.ini file in /opt/zotero and it has Version=5.0.74 and BuildID=20190821231635. I checked the extension version via the Config Editor from within Zotero and have extensions.zoteroOpenOfficeIntegration.version = 5.0.20.SA.5.0.74. Help -> Check for Updates from within Zotero results in No Updates Found, so I assume I have the most recent version.
I would try moving your LO profile directory out of the way and trying with a clean installation (via Zotero if possible, or else manually) of the plugin.
I decided to try a new Zotero profile too. I ended up removing ~/.zotero, ~/.cache/zotero, ./.mozilla/firefox/ks3vm77x.default/browser-extension-data/zotero@chnm.gmu.edu, and
./.mozilla/firefox/ks3vm77x.default/extensions/zotero@chnm.gmu.edu.xpi to get a new profile. A new Zotero profile did not help either.
What version of Java do you have?
@adomasven might be able to help further.
$ java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)
$
I closed all of my network-using applications and that did the trick. I probably had 200 tabs open across 3 different browsers. I suspect that one of those or another application accessing the network had bound up the ports Zotero wanted to bind to.