gnome-shell-extension-system-monitor icon indicating copy to clipboard operation
gnome-shell-extension-system-monitor copied to clipboard

Doesn't work on Fedora 23 with Gnome 3.18

Open heis2201 opened this issue 8 years ago • 8 comments

libgtop2 is installed. Installing this extensions gives an unspecified error.

heis2201 avatar Jul 20 '16 19:07 heis2201

Hi @heis2201, What do you mean by unspecified error?

Can you open a terminal and run journalctl -b -f in there. After that try to install it again. Paste the errors you got from the terminal here.

elvetemedve avatar Jul 21 '16 16:07 elvetemedve

Error is reproducable. So, here is the output of journalctl -b -f:

 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7da7d70 Gjs_DashItemContainer.dash-item-container] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7ebc660 StButton.app-well-app running1 focused:last-child first-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7231c40 StWidget:last-child first-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c72320e0 StBin.overview-icon:last-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c6081480 StBoxLayout] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7da7d70 Gjs_DashItemContainer.dash-item-container] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7ebc660 StButton.app-well-app running1 focused:last-child first-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7231c40 StWidget:last-child first-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c72320e0 StBin.overview-icon:last-child] which is not in the stage.
 gnome-shell.desktop[2357]: (gnome-shell:2357): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x5555c7da7450 ShellGenericContainer:last-child first-child] which is not in the stage.

heis2201 avatar Jul 21 '16 16:07 heis2201

@heis2201 Sorry, but these errors mean nothing to me. I don't see how it's connected to this extension.

I suggest you to report this problem to the Gnome developers at https://bugzilla.gnome.org/.

But before that you might want to disable all other extension first and try to do the installation again. If it works, then some other extension is incompatible with this one, otherwise it's probably a bug in one of the Gnome components.

elvetemedve avatar Jul 23 '16 11:07 elvetemedve

I had the same problem with a Debian stretch. I solved it by installing lm-sensors. Somewhat installation of system-monitor does not ask for it but it does seem to need it! So heis2201, try installing that before you reinstall system-monitor. Best

courtiol avatar Jul 27 '16 12:07 courtiol

Hi already have lm_sensors installed. That didn't fix it. But thanks anyways.

heis2201 avatar Jul 27 '16 15:07 heis2201

I have similar symptoms on Ubuntu. I'm trying to run from master branch commit 20d87db.

Tweak Tool says "Error loading extension."

LookingGlass says "[email protected] has not emitted any errors."

journalctl shows:

 1月 30 11:15:01 gnome-session[2879]: (gnome-shell:2944): Gjs-WARNING **: JS ERROR: Exception in callback for signal: extenson-found: Error: Requiring GTop, version none: Typelib file for namespace 'GTop' (any version) not found
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/[email protected]/meter.j:1
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/[email protected]/factoryjs:3
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/[email protected]/view.js7
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/[email protected]/extensin.js:4

So it seems like this is a libgtop dependency problem, but it looks to me like I have the required dependencies:

$ gnome-shell --version
GNOME Shell 3.18.5
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial
$ aptitude search gtop
p   gir1.2-gtop-2.0                                               - gtop system monitoring library (gir bindings)                           
p   gir1.2-gtop-2.0:i386                                          - gtop system monitoring library (gir bindings)                           
i A libgtop-2.0-10                                                - gtop system monitoring library (shared)                                 
p   libgtop-2.0-10:i386                                           - gtop system monitoring library (shared)                                 
c   libgtop2-7                                                    - gtop system monitoring library (shared)                                 
i   libgtop2-common                                               - gtop system monitoring library (common)                                 
v   libgtop2-common:i386                                          -                                                                         
p   libgtop2-dev                                                  - gtop system monitoring library (devel)                                  
p   libgtop2-dev:i386                                             - gtop system monitoring library (devel)                                  
p   libgtop2-doc                                                  - gtop system monitoring library (documentation)   
$ aptitude show libgtop-2.0-10
Package: libgtop-2.0-10                  
State: installed
Automatically installed: yes
Multi-Arch: same
Version: 2.32.0-1

Update

The extension started and works fine after I installed the libgtop2-dev development package

$ sudo aptitude install libgtop2-dev

jamesdbrock avatar Jan 30 '17 02:01 jamesdbrock

@jamesdbrock Thanks for letting us know. I've updated the installation wiki page.

elvetemedve avatar Jan 30 '17 12:01 elvetemedve

Installing sudo apt install gir1.2-gtop-2.0 is enough on Ubuntu 17.10 to fix the error.

skyghis avatar Jan 22 '18 15:01 skyghis