Zotero 5 and rpm (RedHat) based distributions

edited August 18, 2017
I recently downloaded Zotero 5 for use on CentOS 7. It did not successfully run. What are the prerequisites for Zotero 5 in terms of other programs and libraries?

In addition, having Zotero 5 in rpm format and hosted on a repo for CentOS and Fedora would be VERY nice.

Has anyone else had success with Zotero 5.x working on either Fedora or CentOS or any other Linux distribution other than Ubuntu?
  • In principle Zotero should run wherever Firefox runs; the requirements are mostly the same. What happened when you did run on CentOS?

    I don't remember reports from Zotero 5, but Zotero 4 definitely ran on Fedora and ArchLinux and the requirements shouldn't have changed.

    Zotero is unlikely to package for specific distros (they don't produce a .deb either) so that'd have to come from someone else.
  • edited August 18, 2017
    I use zotero 4 all the time in firefox on both Fedora and CentOS.

    When running from terminal as regular user in CentOS 7
    ./zotero

    I receive, get ready for it...

    (zotero:20339): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:20339): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

    (zotero:20339): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:20339): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.16667) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.16667) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.18346) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.16667) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.18346) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.19802) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.16667) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.18346) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.19802) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.20811) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.16667) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.18346) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.19802) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.20811) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.21513) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    ...
    and so on. Two black windows open, but nothing else. Yet when I run as super user it works. I do have SELinux enforcing. Do I need to add an exception?

    Although, we running as super user, i.e. sudo ./zotero I still get an error as follows, but the program runs.

    (zotero:20787): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:20787): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

    (zotero:20787): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:20787): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
    Suggestions?
  • Even if I sudo setenforce 0 I still get errors as in the fist pre-formatted test box in the previous reply.
  • Running ./zotero --jsconsole gives me the following:

    (zotero:21596): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:21596): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

    (zotero:21596): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

    (zotero:21596): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.915571) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.915571) |[5][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.917393) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.915571) |[5][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.917393) |[6][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.921056) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.915571) |[5][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.917393) |[6][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.921056) |[7][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.939974) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[1][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.899603) |[2][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90311) |[3][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.90592) |[4][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 640, 480 (t=0.915571) |[5][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.917393) |[6][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.921056) |[7][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.939974) |[8][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.958856) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    ... much of the same, truncated for brevity....
    1503075332317 addons.webextension. WARN Loading extension 'null': Reading manifest: Error processing permissions.9: Unknown permission "privacy"
    1503075332318 addons.webextension. WARN Loading extension 'null': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
    1503075332671 addons.webextension.jid1-MnnxcxisBPnSXQ@jetpack WARN Loading extension 'jid1-MnnxcxisBPnSXQ@jetpack': Reading manifest: Error processing permissions.9: Unknown permission "privacy"
    1503075332674 addons.webextension.jid1-MnnxcxisBPnSXQ@jetpack WARN Loading extension 'jid1-MnnxcxisBPnSXQ@jetpack': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
    1503075332729 addons.webextension.jid1-MnnxcxisBPnSXQ@jetpack WARN Please specify whether you want browser_style or not in your browser_action options.
    Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=0.887046) |[31][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.61382) |[32][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.63253) |[33][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.65429) |[34][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=2.7706) |[35][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=3.42098) |[36][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=3.971) |[37][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=4.74148) |[38][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=4.7538) |[39][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=4.75581) |[40][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=37.5876) |[26][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.4885) |[27][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.50431) |[28][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.55845) |[29][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.57538) |[30][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722 (t=1.58862) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1413, 722
    ...much of the same, truncated for brevity....
    And then hangs.
  • This doesn't look like a missing dependency but a crashing graphic process to me -- @dstillman would need to look at this, but my guess would be that it's a problem with the mozilla build underlying Zotero and its behavior on CentOS. I see that crash reported for Firefox in a couple of places
  • edited August 18, 2017
    If it helps, I used the kmod-nvidia from the elrepo on CentOS 7.

    Also, some time afterwords, the following was spit out...

    1503075744123 addons.update-checker WARN Update manifest for e10srollout@mozilla.org did not contain an updates property
    1503075744134 addons.update-checker WARN Update manifest for webcompat@mozilla.org did not contain an updates property
    1503075744145 addons.update-checker WARN Update manifest for firefox@getpocket.com did not contain an updates property
    1503075744159 addons.update-checker WARN Update manifest for aushelper@mozilla.org did not contain an updates property
    1503075744171 addons.update-checker WARN Update manifest for MY PROFILE (replaced the actual number) did not contain an updates property
    Ideally though, an RPM and distro specific packaging would be very nice :)
  • But you're saying it starts up and works normally via sudo?
  • It starts up and works as I would expect. But does give the errors as stated in one of my previous posts (see first pre-formatted text box the the discussion). But after the errors it seems to run fine, but I have to be running as super user.
  • Any update on this issue?
  • Seems to be working well in Fedora 26 x86_64 with command:
    bash zotero

  • I got similar problem with Ubuntu 14.04. I can only use it with sudo now.

    ./zotero -v
    Zotero Zotero 5.0.27, Copyright (c) 2006-2017 Contributors
  • The issue is back, with an error window stating

    _initDB<@chrome://zotero/content/xpcom/zotero.js:894:9

    Current java version 1.8.0_144-b01 64bit
  • Same problem with Java version

    1.8.0_151-b12

    Any movement on this @adamsmith and @dstillman

    It works again with elevated user rights.
  • The Zotero client doesn't use Java, so that's not relevant.

    Try to submit a Debug ID for a startup that fails:

    https://www.zotero.org/support/reporting_problems#reporting_startup_errors

    Or if that doesn't work, use -jsconsole, not --jsconsole, to view the Error Console. The messages in the terminal are unlikely to matter.
Sign In or Register to comment.