nE0sIghT / gnome-browser-extension-mirror

GNOME Shell integration for Chrome
https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
GNU General Public License v3.0
29 stars 21 forks source link

Can't launch chrome-gnome-shell on Fedora 25 #79

Closed SDSDOS closed 7 years ago

SDSDOS commented 7 years ago

When i was trying to install extensions from "https://extensions.gnome.org/", I was told that "Although GNOME Shell integration extension is running, native host connector is not detected", and after that I execute "sudo chrome-gnome-shell", the terminal shows:

[5576] Uncaught exception of type <type 'exceptions.TypeError'> occured File "/bin/chrome-gnome-shell", line 585, in app = ChromeGNOMEShell(run_as_service) File "/bin/chrome-gnome-shell", line 82, in init None) [5576] Exception: Argument 0 does not allow None as a value

(process:5576): GLib-GIO-CRITICAL **: g_application_release: assertion 'application->priv->use_count > 0' failed

nE0sIghT commented 7 years ago

What chrome-gnome-shell version do you use?

SDSDOS commented 7 years ago

=========================================================================================================================================================================
 Package                                    Arch                           Version                             Repository                                           Size
=========================================================================================================================================================================
Installing:
 chrome-gnome-shell                         noarch                         9-1.fc25                            region51-chrome-gnome-shell                          33 k

Transaction Summary
=========================================================================================================================================================================

Sorry for the late response.

nE0sIghT commented 7 years ago

Looks like some DBus problem. I will test chrome-gnome-shell on F25.

nE0sIghT commented 7 years ago

With clean Fedora 25 installation there are no errors

nE0sIghT commented 7 years ago

Which browser do you using?

SDSDOS commented 7 years ago
[localhost@localhost ~]$ firefox --version
Mozilla Firefox 54.0a2
SDSDOS commented 7 years ago

The problem still exists using Firefox 56.0. But it works fine on Chromium 60.0.3112.113

SDSDOS commented 7 years ago

I find that the connector can be detected with the Firefox browser installed from the official Fedora repository but not with the version directly downloaded from Mozilla Firefox

SDSDOS commented 7 years ago
[localhost@localhost ~]$ sudo chrome-gnome-shell
[7899] Uncaught exception of type <type 'exceptions.TypeError'> occured
  File "/bin/chrome-gnome-shell", line 568, in <module>
    app = ChromeGNOMEShell(run_as_service)
  File "/bin/chrome-gnome-shell", line 82, in __init__
    None)
[7899] Exception: Argument 0 does not allow None as a value

(process:7899): GLib-GIO-CRITICAL **: g_application_release: assertion 'application->priv->use_count > 0' failed

The error occurrs only if I execute "sudo chrome-gnome-shell" while "chrome-gnome-shell" works fine.

SDSDOS commented 7 years ago

Any ideas on how to fix this?

nE0sIghT commented 7 years ago

Symlink "/usr/lib64/mozilla/native-messaging-hosts" -> "/usr/lib/mozilla/native-messaging-hosts" for workaround. Report this issue to Fedora's bugtracker.