Libreoffice 5.2.5 Writer crashes on inserting Zotero citations
I'm using latest Zotero extension (4.0.29.16) for Firefox (51.0.1) with Libreoffice extension (3.5.12) in Libreoffice 5.3.0 and 5.2.5. The system is Ubuntu 16.04, 64 bit with openjdk-8-jre from Ubuntu repositories.
Recently I realized that it is nearly impossible to use Zotero, it randomly crash Libreoffice on inserting of single reference and nearly constantly crashes, when inserting several references.
I have this problem on all computers in office having Ubuntu 16.04 64 bit and Libreoffice 5.2.x.
I tried to install Oracle java, but it didn't change anything. I tried stand alone Zotero and there is no difference from Firefox extension. But there are no problems with Openoffice.org 4.1.3. I tried to go back to Libreoffice 5.1.6, but it also crashes on inserting citations. No problems with windows 7 with the same set of programs
Steps to Reproduce:
1.Install Zotero add-on for Libreoffice
2.Start new Writer document
3.Press Insert citation in Zotero toolbar.
4.Select any Citation Style and press ok
5.Select 2 or more citations
6.Press enter or OK in clasic dialogue to insert citation
7.If Libreoffice do not crash try one more time with more citations
After pressing OK or enter to insert citation Libreoffice usually crashes and it can be recovered only by kill command. Firefox also can be restarted only by kill command.
I tried to reset user profile and reinstall extensions, but it doesn't change the situation.
Any help would be welcome.
I posted this also in Libreoffice bug tracker https://bugs.documentfoundation.org/show_bug.cgi?id=105705
Recently I realized that it is nearly impossible to use Zotero, it randomly crash Libreoffice on inserting of single reference and nearly constantly crashes, when inserting several references.
I have this problem on all computers in office having Ubuntu 16.04 64 bit and Libreoffice 5.2.x.
I tried to install Oracle java, but it didn't change anything. I tried stand alone Zotero and there is no difference from Firefox extension. But there are no problems with Openoffice.org 4.1.3. I tried to go back to Libreoffice 5.1.6, but it also crashes on inserting citations. No problems with windows 7 with the same set of programs
Steps to Reproduce:
1.Install Zotero add-on for Libreoffice
2.Start new Writer document
3.Press Insert citation in Zotero toolbar.
4.Select any Citation Style and press ok
5.Select 2 or more citations
6.Press enter or OK in clasic dialogue to insert citation
7.If Libreoffice do not crash try one more time with more citations
After pressing OK or enter to insert citation Libreoffice usually crashes and it can be recovered only by kill command. Firefox also can be restarted only by kill command.
I tried to reset user profile and reinstall extensions, but it doesn't change the situation.
Any help would be welcome.
I posted this also in Libreoffice bug tracker https://bugs.documentfoundation.org/show_bug.cgi?id=105705
Thanks for posting the bug to LibreOffice tracker.
I don't think Debug Output will contain a lot of useful information, but if you can produce a Debug ID for an operation that breaks LO we will take a look. If Firefox/Zotero is unresponsive after you get the LO issue, you could instead perform Real-Time Debug Output logging, paste it in a secret gist and email the gist url along with a link to this thread to support@zotero.org.
Another thing that might be worth investigating is adding tables and figures with captions in LO, using those captions in-text and seeing if you get any crashing. If you did it would indicate that the problem is with LO and/or JRE.
I would be thankful for more detailed instructions on how to do Real-Time Debug Output logging.
I am currently investigating a different bug with libreoffice that seems to consistently crash it, which is related to unicode characters in citation text and field codes. I will ping this thread once I have got to the bottom of that, as it might fix this too, or at least give me a better idea about why this could be happening.
Edit: This is with Zotero 5.0 Beta, which you will have to upgrade to to see the fix. Read the forum post as there might be some caveats to the upgrade.
For the reported issue it doesn't matter, which version of Zotero is used. Libreoffice plugin makes sense. I do not have crashes with plugiv version 3.5.12.r101160.
I just wanted to say that I can't fully check if the error still persist in 215 built, because it do not insert bibliography in any document (returns above-mentioned error message) and I can't check if crashes returns after inserting bibliography.
To be able to work we are now using in our team Zotero 4.0.29.21 Firefox add-on and 3.5.12.r10160 Libreoffice plug-in (Libreoffice 5.2.7). In Libreoffice plug-in version is marked as 5.0.0. I don't know if it is good or bad, but it works fine.
I will try to install Zotero beta 5.0.
At this time, it seems to work - at least, libreoffice does not crash whenever I try to do something with Zotero.
We install recent version of Zotero (now it is 4.0.29.21), then we install Zotero LibreOffice Integration development built (it shows 3.5.12.r10160, I don't know is it important, which version of the plugin is installed, probably it doesn't matter at all), then we take Zotero plugin .oxt installation file from development branch in git (version 5.0.0, later versions for some reasons are not able to insert bibliographies in our case) and install it directly in Libreoffice addon manager.
Now we have fully working Zotero and benefits from having it as extension in Firefox.