elvetemedve / gnome-shell-extension-system-monitor

Gnome Shell extension for displaying resource usage
GNU General Public License v3.0
87 stars 15 forks source link

Doesn't work on Fedora 23 with Gnome 3.18 #6

Open heis2201 opened 8 years ago

heis2201 commented 8 years ago

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

elvetemedve commented 8 years ago

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.

heis2201 commented 8 years ago

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.
elvetemedve commented 8 years ago

@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.

courtiol commented 8 years ago

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

heis2201 commented 8 years ago

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

jamesdbrock commented 7 years ago

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

Tweak Tool says "Error loading extension."

LookingGlass says "System_Monitor@bghome.gmail.com 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/System_Monitor@bghome.gmail.com/meter.j:1
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/factoryjs:3
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/view.js7
 1月 30 11:15:01 gnome-session[2879]: @/home/jdb/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/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
elvetemedve commented 7 years ago

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

skyghis commented 6 years ago

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