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

Exception: 'NoneType' object has no attribute 'unpack' #37

Closed shakaran closed 7 years ago

shakaran commented 7 years ago

I get the following trace in Ubuntu 17.04 development branch

[20061] Uncaught exception of type <class 'AttributeError'> occured
  File "/usr/bin/chrome-gnome-shell", line 226, in on_input
    self.process_request(request)
  File "/usr/bin/chrome-gnome-shell", line 375, in process_request
    'shellVersion': shell_version.unpack(),
[20061] Exception: 'NoneType' object has no attribute 'unpack'
nE0sIghT commented 7 years ago

Do you using Unity? Get me screenshot of your desktop

shakaran commented 7 years ago

I am using Ubuntu 17.04 with Gnome Session (Metacity). Sorry I cannot put a public screenshot here, I have confidential data

nE0sIghT commented 7 years ago

Show output of ps -ef | grep 'unity\|compiz\|gnome-shell'

shakaran commented 7 years ago
$ ps -ef | grep 'unity\|compiz\|gnome-shell'
root      2776     1  0 mar04 ?        00:00:00 /usr/lib/x86_64-linux-gnu/unity-greeter-session-broadcast/unity-greeter-session-broadcast-service
shakaran  8495  2853  0 mar04 ?        00:00:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
shakaran 20060 19648  0 02:07 pts/8    00:00:00 /usr/bin/python3 /usr/bin/chrome-gnome-shell chrome-extension://gphhapmejobijbbhgpjhcjognlahblep/
shakaran 20112 10660  0 20:03 pts/6    00:00:00 grep --color=auto unity\|compiz\|gnome-shell
nE0sIghT commented 7 years ago

As you can see there is no GNOME Shell running. You can not use GNOME Shell integration and GNOME Shell extensions without GNOME Shell.

GNOME Shell looks like this: image

nE0sIghT commented 7 years ago

Probably, you are using GNOME Flashback:

image

shakaran commented 7 years ago

ok, could you detect in some way the enviroment variable or check at least the exception for avoid the traceback in the terminal?

nE0sIghT commented 7 years ago

It's done already in #35 and available in 8.2 release of connector

shakaran commented 7 years ago

@nE0sIghT ok, thanks