Zotero, Ubuntu 11.10 and Libreoffice
I just upgraded to Oneiric (Kubuntu 11.10) and Zotero no longer plays nice with Libreoffice. I was using Libreoffice and Zotero 3.0 standalone on Kubuntu 11.4. Under 11.10 I've tried sun-java as well as openjdk. The programs load as they did before but as soon as I try to use the Libreoffice extension to add a citation or refresh the bibliography, Libreoffice crashes. Has anyone else had success? Any recommendations?
This happens with a fresh document? And "crash" means just close? Or does it freeze or throw an error?
Thank you for your help!
I can insert citations normally, the citation numbers appear in the document as they should. (Integration IS partially working.)
However, when I try to insert bibliography, libreoffice (LibreOffice 3.4.3 OOO340m1 (Build:302)) crashes (simply disappears).
I do have libreoffice and all its components installed. I've tried to reinstall libreoffice and reinstall the zotero extension, but the bibliography importing is still, unfortunately, not successful.
Also I have default-jre and openjdk-6-jre installed, if that is of significance.
I tried to look for a libreoffice error log, but was unable to find it. Any suggestions? Thanks in advance!
I realized I could get some more info by running libreoffice in the console and reproducing the crash.
The last console entries before crashing are:
"
ZoteroOpenOfficeIntegration: Received message ["Document_insertField",["ReferenceMark",0]]
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x01ad1a46, pid=4304, tid=2915629936
#
# JRE version: 6.0_23-b23
# Java VM: OpenJDK Client VM (20.0-b11 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.11pre
# Distribution: Ubuntu oneiric (development branch), package 6b23~pre10-0ubuntu5
# Problematic frame:
# C [libQtGui.so.4+0x258a46] QX11PixmapData::createCompatiblePixmapData() const+0x156
#
# An error report file with more information is saved as:
# /home/petri/hs_err_pid4304.log
"
You can download the full console output here:
http://www.mediafire.com/?dvcv9w8vcacq8vs
The said error report file is here:
http://www.mediafire.com/?145c6iy2xt29ond
I hope this helps fixing this issue!
I simply uninstalled the KDE integration package (libreoffice-kde).
I can now insert citations and bibliographies without incident. And there is no saving issues, like it was mentioned in that old thread Simon brought up.
Thanks for the fix!
I've red that it would work by uninstalling KDE integration package, but I'm not sure of wanting to do that. Are there any other workarounds?
Thank you
PS: Kubuntu users I'm having problems with Libreoffice, from time to time non-printable characters dissapear, no matter if I click on the icon or not. I'm afraid there's something wrong with Libreoffice in Kubuntu
I confirm that workaround consisting in remove libreoffice-kde solve the problem !
Thanks to you wyeager to have reported this bug, and thanks to Simon and petri.m.pulkkinen for the workaround, you save me lots of time !
Regards
Libreoffice runs faster than ever before (I'm still on sun-java 6.21) and I can live without kde looks
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/886774
Deinstalling KDE4 integration "solves" the problem.
I had the same problem about two years ago with OpenOffice and the KDE4 integration.
Best wishes
Michael