So many problems with LibreOffice integration
Hello,
I know this is going to sound like one of those 'it doesn't work' posts, but I'm having so many problems that Zotero has become completely unusable and each time I try to replicate them I get a different behaviour. This is really doing my head in - spent hours messing around with Zotero to no avail instead of writing the article as I should be.
So to start with, my system is Debian/Linux using Libreoffice version 4.1.5.3 and Zotero 4..0.17-2. I have recently done a routine upgrade and that is when all these problems started.
Some of the problems that I seem to get randomly are (in increasing order of severity):
1. The Libreoffice integration toolbar makes no response at all to being clicked on.
2. When it does respond, the 'Set Document Preferences' window appears, but has no styles in the style box and won't respond to the 'OK' button.
3. I can get beyond the preferences, but the citation editor window is enormously tall - bigger than my screen, and refuses to be resized.
4. The citation editor window begins to be displayed, but then freezes, and LibreOffice has to be manually killed (ie kill the process from the command line).
5. My entire window manager (KWin) hangs, and even logging into my computer remotely and manually stopping the LibreOffice, Zotero and firefox/iceweasel process doesn't help. Or even manually terminating the display manager doesn't help. Literally the only way out is a full reboot.
I have tried uninstalling the zotero packages (zotero-standalone, xul-ext-zotero and libreoffice-zotero-integration) - made no difference at all.
Any help would be much appreciated.
I know this is going to sound like one of those 'it doesn't work' posts, but I'm having so many problems that Zotero has become completely unusable and each time I try to replicate them I get a different behaviour. This is really doing my head in - spent hours messing around with Zotero to no avail instead of writing the article as I should be.
So to start with, my system is Debian/Linux using Libreoffice version 4.1.5.3 and Zotero 4..0.17-2. I have recently done a routine upgrade and that is when all these problems started.
Some of the problems that I seem to get randomly are (in increasing order of severity):
1. The Libreoffice integration toolbar makes no response at all to being clicked on.
2. When it does respond, the 'Set Document Preferences' window appears, but has no styles in the style box and won't respond to the 'OK' button.
3. I can get beyond the preferences, but the citation editor window is enormously tall - bigger than my screen, and refuses to be resized.
4. The citation editor window begins to be displayed, but then freezes, and LibreOffice has to be manually killed (ie kill the process from the command line).
5. My entire window manager (KWin) hangs, and even logging into my computer remotely and manually stopping the LibreOffice, Zotero and firefox/iceweasel process doesn't help. Or even manually terminating the display manager doesn't help. Literally the only way out is a full reboot.
I have tried uninstalling the zotero packages (zotero-standalone, xul-ext-zotero and libreoffice-zotero-integration) - made no difference at all.
Any help would be much appreciated.
6. The edit citation window appears, but doesn't recognise any citation that I enter.
Another possibly useful piece of information I just realised it that I have a different computer running similar but not identical versions (LO 4.1.3.2 Zotero 4.0.17.2) and it seems to work fine. Another thing to note about this second computer is that it is pretty much a fresh install, ie hasn't been through many (or possibly any) upgrades.
Since it's only a short report I will also include the text here:
[JavaScript Error: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIServerSocket.init]" {file: "file:///usr/share/zotero-standalone/extensions/zoteroOpenOfficeIntegration@zotero.org/components/zoteroOpenOfficeIntegration.js" line: 62}]
Seems to be a problem establishing a socket connection(?)
One thing I noticed is that a style I had imported for standalone was not visible either to the libreoffice extension or the firefox extension. This makes me wonder to what extent the two (three?) installations really are sharing their data. But when I imported the same style to firefox, it was also visible to the libreoffice extension, and we seem to be back on track.
Still, given the inconsistent behaviour I have observed, I'd like to use it for a while before I confirm that it really is working.
Also I don't remember selecting different data directories when I first installed zotero. Certainly when I uninstalled and reinstalled everything today it didn't ask me anything like that. I even used the '--purge' option to the uninstall command 'apt-get remove', which is supposed to tell the installer to remove all trace of the package ever having been installed.
Small bugs at most but perhaps worth noting or looking into.
@jonathan - note that the debian package is _not_ packaged by Zotero
As for the styles: you can check your data directory. The styles are right in there. If the directory is shared, the styles are shared.
More generally - is there any reason why anyone would ever want different data directories for the different Zotero apps? As my experience apparently demonstrates, having different data directories can expose a whole pile of problems beyond the data simply not being shared.
Granted this may be a problem for the debian package manager - I'll shoot them an email referencing this thread.
I think it's just a matter of principle to not just unilaterally do something like sharing a data directory between applications installed separately without telling the user that you are.
I mean - the reason you're bringing this up is that it didn't work for you, but that's an entirely different case and there is a good chance that it wouldn't have worked either if Zotero didn't have a user prompt but shared by default.
The only thing we could conceivably do is not ask when you install the second client, but as adamsmith says, that's not a good idea on principle. Someone installing Standalone second also might legitimately want to say "No" in order to keep Standalone pointing at its default location and then update Firefox to use that one instead.
When I mentioned a profile manager I was thinking more like part of the preferences menu - maintaining a list of profiles somewhere that is always shared, so that every application can switch between them as the user chooses. Again, I have no idea why you would want to do this, but if there is a case for multiple profiles then that seems like a more intuitive way to go.
As for not working for me, it isn't just that it didn't behave as I wanted it to, but rather that it revealed some serious bugs that went as far as crashing my entire window manager. That really takes some doing! Though I do acknowledge that this is as likely a distro problem as a Zotero or Mozilla one.
Maybe some things can be done to provide clearer feedback for word processor integration problems if people do somehow end up with multiple active data directories, but 1) it's not clear that those problems are universal and 2) since almost no one should be in that situation, it's not something we're particularly concerned with.
But I'm really not sure what you're getting at. I understand you had a bad experience and obviously that shouldn't happen, but none of what you're suggesting here would have in any way prevented that. Your issues are due to a bug in what I'd assume at this point is the debian package. That's what needs to get fixed. If that had worked as intended (and as it does, afaik, for all official Zotero releases), you'd never had these problems, so I'm not seeing how the other points you bring up are relevant?
Regarding the serious bug(s), I accept your judgement that they are likely a distro issue, and will refer this to the Debian maintainer.
edit: so same question as Dan.
I can tell you that the problem happens when firefox is running and standalone isn't. For other scenarios I'll do some tests and get back to you. I'm working on something else and having to reboot my computer each time this happens is too disruptive for me to do it right now.
One other thing - I think I've worked out more of what happens with the window manager. It actually seems to provoke a bug in the video driver: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680514
It's actually a bit more complicated than that, and the behaviour does seem to depend a bit on the order of starting and stopping the two Zotero versions and LibreOffice. And there are actually three different behaviours:
1. Works as should
2. Works OK but Format Citation window is expanded vertically
3. Format citation window begins to be displayed (ie window dressing is in place) but never fills in the window and apparently hangs.
Would you like an exhaustive description of all the combinations I can think of, or is that sufficient?
I don't think more scenarios are needed, no.
Zotero iceweasel add-on version 4.0.17
Zotero LibreOffice Integration iceseasel add-on version 3.5.8.SA.4.0.17-2