Zotero standalone and the Firefox plugin can't work together in Ubuntu 14.04.

My previous machine was running Linux Mint 13, and I had both Zotero standalone and the Firefox plugin installed, both worked. Now I'm trying to have the same in Ubuntu 14.04, but each time it's just the Zotero version that was installed in the first place that works, while the other one crashes at launch.

For instance, after successfully installing the Firefox plugin, I've not been able to get the standalone app to work. Running zotero.sh shows this error:

(process:3420): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Localized string not available for dataDir.standaloneMigration.description

Localized string not available for dataDir.standaloneMigration.description

Localized string not available for dataDir.standaloneMigration.description

Any suggestions?
  • are you installing Zotero Standalone from the Ubuntu repositories or from zotero.org? The error message suggests a problem with how it's packaged, so if you did indeed install via aptitude, you should report that to the packager.
  • I'm trying to install from zotero.org. The only zotero-related package I could find in the trusty repositories is a unity scope.
  • which version of Zotero for Firefox do you have installed? In which language is your Firefox? Your operating system?
  • I'm running Ubuntu 14.04. Both Ubuntu and Firefox are in Galician. My Zotero for Firefox plugin shows version 4.0.26.4.
  • yeah, I suspect that's the problem -- there's likely a problem with the locale that only appears when the data directory is shared.
    @Dan - can you spot this quickly?
  • Meng1989: Not sure what you mean by zotero.sh — there's no such file by default. There's a run-zotero.sh, but you don't need to use that. The file you want to run is just 'zotero'.

    There's a Galician locale, and it does have the string you list.

    Just to test, what happens if you go to the Zotero Standalone profile directory, edit prefs.js, add the following two lines, and restart Zotero?

    user_pref("intl.locale.matchOS", false);
    user_pref("general.useragent.locale", "en-US");
  • Thanks, Dan. After editing prefs.js everything ran smoothly. :) Though of course it would be nice to have the Galician version working as well.
  • That was just for debugging, really. And the Galician locale works for me. Try setting general.useragent.locale to gl-ES, either in prefs.js (with Zotero closed) or in about:config (accessible from the Advanced pane of the preferences), and restarting Zotero.
  • Thank you again. Now everything works.
Sign In or Register to comment.