Report IDs: 1803874051 &1803874051 - Libre Office Crashes using zotero integration plugin
Hi,
I've been getting crashes when using the zotero plugin and libre office. I've attached two separate report IDs, but it's been happening more regularly than that. I'm using Debian Gnu/Linux KDE.
It crashes often when I try to insert a reference in libreoffice - the popup/zotero windows comes up but not properly, and libre office freezes and I have to end the process. More recently, I tried to remove the field codes, and doing this, it crashed every time (I had to submit an essay with field codes included). I even installed Zotero standalone and tried doing it using this and it still crashed.
Cheers.
I've been getting crashes when using the zotero plugin and libre office. I've attached two separate report IDs, but it's been happening more regularly than that. I'm using Debian Gnu/Linux KDE.
It crashes often when I try to insert a reference in libreoffice - the popup/zotero windows comes up but not properly, and libre office freezes and I have to end the process. More recently, I tried to remove the field codes, and doing this, it crashed every time (I had to submit an essay with field codes included). I even installed Zotero standalone and tried doing it using this and it still crashed.
Cheers.
@Dan - anything relevant in the error reports?
(But those things probably aren't relevant if this happens with Standalone too, assuming "Firefox" was closed at the time.)
It's certainly not something we have seen reported before, but then how many people use Zotero on Debian/KDE?
I also previously got this error in zotero standalone:
"
'An error occurred communicating with Zotero:
com.sun.star.lang.DisposedException: Binary URP bridge disposed during call
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:183)
at com.sun.proxy.$Proxy43.execute(Unknown Source)
at org.zotero.integration.ooo.comp.Document.displayAlert(Document.java:166)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:70)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Thread.java:722)
' when calling method: [zoteroIntegrationDocument::displayAlert]"
I don't appear to be getting that every time, though.
I can send you the screenshots of what the error looks like, but don't seem to be able to attach images here?
I've noticed that after libre office crashes, I also have to restart firefox / standalone in order to be able to add references in libre office again.
Just noticed that - despite all other evidence to the contrary, in firefox --> zotero --> preferences it says that the libreoffice etc. plugin is not installed. on trying to install it it's giving me errors: JavaScript Error: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIServerSocket.init]" {file: "file:///home/nick/.mozilla/firefox/9izv9x8p.default/extensions/zoteroOpenOfficeIntegration@zotero.org/components/zoteroOpenOfficeIntegration.js" line: 83}]
[JavaScript Error: "Translator with ID 47533cd7-ccaa-47a7-81bb-71c45e68a74d already loaded from "Bibliotheque nationale de France.js"" {file: "file:///home/nick/.mozilla/firefox/9izv9x8p.default/zotero/translators/Biblioth%C3%A8que%20nationale%20de%20France.js" line: 0}]
[JavaScript Error: "TypeError: temp is null" {file: "chrome://global/content/bindings/preferences.xml" line: 1172}]
[JavaScript Error: "[Exception... "'unopkg at /usr/bin/unopkg failed to install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
[JavaScript Error: "uncaught exception: Don't know how to go back from intro"]
[JavaScript Error: "TypeError: temp is null" {file: "chrome://global/content/bindings/preferences.xml" line: 1172}]
[JavaScript Error: "[Exception... "'unopkg at /usr/bin/unopkg failed to install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
(report id: 1344452270)
.
Tried to install it manually and libreoffice crashed (a problem I've had before, but hasn't mattered so much since installing extensions for that is generally done elsewhere or in the package manager on debian).
I've also just noticed that in firefox/iceweasel I have zotero/libreoffice integration 3.5.9 installed, whereas in libreoffice it insists I have 3.5.8 installed. Could that be the cause of the problem?
I'll report it to libreoffice. Cheers.
: https://bugs.freedesktop.org/show_bug.cgi?id=76288
Thanks.
I'm trying the reinstallation of libreoffice/ new profile route and seeing where that takes me.
My last post to the libreoffice bugtracker:
"OK thanks - i've tried this and it worked fine, apparently, until I installed the zotero plugin integration from the debian testing repo (haven't tried the other plugins - didn't really use them).
As soon as I did this, I tried a) saving - and managed to get it to crash doing this, and then b) going to extension manager - again, trying the update option got it to crash. I also tried c) remove field codes, and it crashed, as before."
So I managed to upgrade the libreoffice zotero extension to 3.5.9, still getting crashing.
So an interesting update – I logged out of KDE and into Gnome (on the same system – I have both installed though generally only use KDE) – and tried the same things in libreoffice, and it is working fine – inserting citations, removing field codes, etc.
Only strange problem is that when I try it in gnome, with zotero standalone, rather than iceweasel/firefox open, and add a citation, it says:
“OpenOffice.org could not communicate with Zotero. Please ensure Firefox or Zotero Standalone is open and set to an online state and try again.”
–
I realised that regarding the previous KDE problems, the reason I might not be experiencing them is that I don't have Oxygen-gtk theme selected for gtk2/3 (Zukwaito??). I do use the oxygen theme (a slightly customised version of this) for QT.
I could definitely have a mess around with themes and see if that helps, though i've just changed them all and it doesn't seem to have changed anything in libreoffice – does it follow the theming? The gtk theming or the qt?
(Also, Libre office are suggesting that the crashing appearing together with the zotero extension suggests that it is a bug in the extension: https://bugs.freedesktop.org/show_bug.cgi?id=76288)
It is possible that you are got the communication error message with Zotero Standalone open because you 1) don't have Firefox and Zotero Standalone set to share data directories (the official version of Zotero asks if you want to share data directories on open, but I think we've seen another report that suggests that this prompt doesn't exist in the KDE package) and 2) you opened Firefox first, and then Zotero Standalone, and then closed Firefox. If you set Zotero for Firefox and Zotero Standalone to use the same data directories, this should be resolved.
CHeers!
text copied here for convenience:
"Hi, please find attached my attempts at getting a backtrace relating to this bug (or bugs). I was trying to get a bug report of the specific crash relating to removing field codes in zotero but I'm not sure that any of these bug reports are that.
Whilst the specific aspects of this bug relating to Zotero, and in the extension manager, only appeared when using Libre Office in KDE, I still got irregular crashes when using it in Gnome.
Shortly after I'd got these backtraces, my laptop irreparably stopped working (motherboard?) and I'm now using a new one - with Kubuntu 14.04 - I don't seem to be getting these errors on this. I failed at installing Debian on this machine so there's no chance of me testing this further.
Thanks for your help."