Gnome-shell-system-monitor-applet: It dosen't support gnome 3.24

Created on 15 Apr 2017  Â·  28Comments  Â·  Source: paradoxxxzero/gnome-shell-system-monitor-applet

Could you add support for gnome 3.24?

Most helpful comment

I have opened a PR to fix this .

https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/358

Can one of the contributors merge this?

All 28 comments

I have opened a PR to fix this .

https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/358

Can one of the contributors merge this?

it has been merged, would be nice if someone could make a new release.

It it working? in ArchLinux I am still getting the loading error

It is working if you install manually from git, but it has to be uploaded to extensions.gnome.org.

If you want to do it manually: download the master branch, run make install and restart the session.

I does not work on my system. This here is Ubuntu Gnome 17.04. I have taken it from the sources right now using git clone. So I think there still are problems with gnome 3.24. I will take a deeper and report back if I can.

works on Ubuntu 17.04 for me with manual install

No, not here. Maybe my config is broken. I assume you also used the "master" branch. Let me know if you are doing something different...

I love this extension, I want to continue loving and using it :-)

@gerstrong Do you have all the packages installed, that are described in the README? Also, after manually installing it, could you try rebooting? I've noticed that even after f2+r, gnome doesn't always completely reload things.

This is my tweaks to get it working with GS 3.24 & libmozjs-38 (ubuntu 17.04)

This is the changes made starting at line ~ 42 of extension.js

var GTop; //added
try {
// const GTop = imports.gi.GTop;
GTop = imports.gi.GTop; // added
} catch(e) {
log(e);
smDepsGtop = false;
}

try {
// const NMClient = imports.gi.NMClient;
// const NetworkManager = imports.gi.NetworkManager;
NMClient = imports.gi.NMClient; //added
NetworkManager = imports.gi.NetworkManager; //added
} catch(e) {
log(e);
smDepsNM = false;
}

then alt+F2+r to restart gnome-shell, and the extension icons are back in the systray, and working fine.

@dino99 Thanks!, After log-off it works!

Wow that was fast. I have to Check that...

Am 23.04.2017 11:24 vorm. schrieb "Sergio Luis Scarnatto" <
[email protected]>:

@dino99 https://github.com/dino99 Thanks!, After log-off it works!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/357#issuecomment-296430482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATN5SWl9eNTSauW0Wvqrtufz9P23hsoks5ryxjlgaJpZM4M-ODm
.

@dino99 @Felixls this fix has been on master for a month roughly (pull #347), hence why we are saying you need to run the master branch for 3.24.

@gerstrong I don't know why it's not working on your system; @chrisspen asked if you have all the dependencies installed.

  • Do you have them installed?
  • When you say it doesn't work, what does it mean exactly?
  • What kind of error/glitch are you getting?

I will test this tomorrow... Have no Access right now...

Am 23.04.2017 7:06 nachm. schrieb "Fran Glais" notifications@github.com:

@dino99 https://github.com/dino99 @Felixls https://github.com/Felixls
this fix has been on master for a month roughly (pull #347
https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/347),
hence why we are saying you need to run the master branch for 3.24.

@gerstrong https://github.com/gerstrong I don't know why it's not
working on your system; @chrisspen https://github.com/chrisspen asked
if you have all the dependencies installed.

  • Do you have them installed?
  • When you say it doesn't work, what does it mean exactly?
  • What kind of error/glitch are you getting?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/357#issuecomment-296457431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATN5cuJ93sfDIHtspKRk9Q_ZfXF1_dFks5ry4URgaJpZM4M-ODm
.

It does not work here! I can open the settings just fine but the system monitor is not seen. Also Gnome-Tweak reports nothing erroneous. It just is not displayed.

How can I reset my settings of that extension? Maybe this solves my issue. It might help because I had the extension installed with ubuntu 16.10 and performed a system upgrade to 17.04 some days ago. I git pull'ed the extension so it would be up to date.

This is my tweaks to get it working with GS 3.24 & libmozjs-38 (ubuntu 17.04)

This is the changes made starting at line ~ 42 of extension.js

var GTop; //added
try {
// const GTop = imports.gi.GTop;
GTop = imports.gi.GTop; // added
} catch(e) {
log(e);
smDepsGtop = false;
}

try {
// const NMClient = imports.gi.NMClient;
// const NetworkManager = imports.gi.NetworkManager;
NMClient = imports.gi.NMClient; //added
NetworkManager = imports.gi.NetworkManager; //added
} catch(e) {
log(e);
smDepsNM = false;
}

then alt+F2+r to restart gnome-shell, and the extension icons are back in the systray, and working fine.

These changes are in the master and I also have them on my system. It still does not work here.

@gerstrong can you try the two following things:

  • Reset your settings: dconf reset -f /org/gnome/shell/extensions/system-monitor/
  • Check for errors (not while resetting, but in general):

    • As you get them: sudo journalctl /usr/bin/gnome-shell -f

    • To read the full log: sudo journalctl /usr/bin/gnome-shell

okay here it goes:

-- Logs begin at Tue 2017-04-25 08:00:18 CEST, end at Tue 2017-04-25 08:16:11 CEST. --
Apr 25 08:00:20 ges-pc org.gnome.Shell.desktop[1316]: glamor: EGL version 1.4 (DRI2):
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]: reference to undefined property global.stage
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]: reference to undefined property global.window_group
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 899]: reference to undefined property this.monitors[this.findIndexForActor(...)]
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property Meta.MonitorManager
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/panel.js 1107]: reference to undefined property indicator.menu._openChangedId
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]: reference to undefined property St.GenericAccessible
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/gdm/util.js 330]: reference to undefined property this._preemptingService
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 514]: reference to undefined property obj.delay
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS ERROR: TypeError: can't convert undefined to object
                                          ObjectManager<._onManagerProxyLoaded/<@resource:///org/gnome/shell/misc/objectManager.js:196:31
                                          _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86:13
Apr 25 08:00:21 ges-pc gnome-shell[1316]: Failed to get Yr.no forecast data: 2 Fehler beim Auflösen von »api.met.no«: Der Name oder der Dienst ist nicht bekannt
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/misc/ibusManager.js 196]: reference to undefined property this._engines[id]
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/windowManager.js 1493]: reference to undefined property actor.meta_window
Apr 25 08:00:21 ges-pc gnome-shell[1316]: Failed to connect to Geoclue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 121
Apr 25 08:00:21 ges-pc gnome-shell[1316]: JS WARNING: [resource:///org/gnome/shell/ui/status/network.js 1885]: reference to undefined property this._mainConnectionStateChangedId
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]: reference to undefined property global.stage
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]: reference to undefined property global.window_group
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 899]: reference to undefined property this.monitors[this.findIndexForActor(...)]
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property Meta.MonitorManager
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/panel.js 1107]: reference to undefined property indicator.menu._openChangedId
Apr 25 08:04:34 ges-pc org.gnome.Shell.desktop[2078]: current session already has an ibus-daemon.
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]: reference to undefined property St.GenericAccessible
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 538]: reference to undefined property properties[istr].arrayIndex
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/search.js 432]: reference to undefined property provider.isRemoteProvider
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS ERROR: Could not load extension gnome-shell-system-monitor-applet: Error: Missing metadata.json
                                          createExtensionObject@resource:///org/gnome/shell/misc/extensionUtils.js:109:1
                                          ExtensionFinder<._loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:179:25
                                          wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
                                          bind/<@resource:///org/gnome/gjs/modules/lang.js:95:16
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:1
                                          ExtensionFinder<.scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:189:9
                                          wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
                                          _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:306:5
                                          enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:314:9
                                          _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:345:9
                                          init@resource:///org/gnome/shell/ui/extensionSystem.js:353:5
                                          _initializeUI@resource:///org/gnome/shell/ui/main.js:219:5
                                          start@resource:///org/gnome/shell/ui/main.js:127:5
                                          @<main>:1:31
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [/home/ges/.local/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com/extension.js 150]: reference to undefined property Meta.KeyBindin
Apr 25 08:04:34 ges-pc gnome-shell[2078]: System monitor applet init from /home/ges/.local/share/gnome-shell/extensions/[email protected]
Apr 25 08:04:34 ges-pc gnome-shell[2078]: System monitor applet enabling
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension "[email protected]" had error: ReferenceError: GTop is not defined
Apr 25 08:04:34 ges-pc gnome-shell[2078]: loading default theme (Adwaita)
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. 
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr/sha
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr/s
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected].
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension native-window-placement@gnome-shell-extensions.gcampax.github.com already installed in /home/ges/.local/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com already installed in /home/ges/.local/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr/s
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected].
Apr 25 08:04:34 ges-pc gnome-shell[2078]: Extension [email protected] already installed in /home/ges/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loa
Apr 25 08:04:34 ges-pc gnome-shell[2078]: JS WARNING: [/home/ges/.local/share/gnome-shell/extensions/[email protected]/extension.js 496]: reference to undefined property this.calling
Apr 25 08:04:35 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/misc/ibusManager.js 196]: reference to undefined property this._engines[id]
Apr 25 08:04:35 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/status/network.js 1885]: reference to undefined property this._mainConnectionStateChangedId
Apr 25 08:04:36 ges-pc gnome-shell[2078]: GNOME Shell started at Tue Apr 25 2017 08:04:34 GMT+0200 (CEST)
Apr 25 08:04:54 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/dash.js 760]: reference to undefined property oldApps[oldIndex]
Apr 25 08:04:54 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/appDisplay.js 1298]: reference to undefined property this.name
Apr 25 08:05:20 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/notificationDaemon.js 189]: reference to undefined property ndata.hints['desktop-entry']
Apr 25 08:05:20 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/notificationDaemon.js 394]: reference to undefined property hints.resident
Apr 25 08:05:20 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/messageList.js 392]: reference to undefined property this._useBodyMarkup
Apr 25 08:05:20 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/messageList.js 169]: reference to undefined property this._container
Apr 25 08:05:53 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 502]: reference to undefined property child._delegate
Apr 25 08:05:53 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 24]: reference to undefined property child._delegate
Apr 25 08:06:00 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/workspace.js 1229]: reference to undefined property this._reservedSlotWindow
Apr 25 08:06:01 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/search.js 255]: reference to undefined property this.provider.canLaunchSearch
Apr 25 08:06:02 ges-pc gnome-shell[2078]: Received error from DBus search provider org.gnome.Photos.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige Schnittstelle »o
Apr 25 08:06:02 ges-pc gnome-shell[2078]: Wrong number of result metas returned by search provider org.gnome.Photos.desktop: expected 1 but got 0
Apr 25 08:06:35 ges-pc org.gnome.Shell.desktop[2078]: sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded
Apr 25 08:09:24 ges-pc gnome-shell[2078]: JS WARNING: [resource:///org/gnome/shell/ui/panel.js 342]: reference to undefined property this.menu.actionGroup

After resetting with gconf and restarting the system it still does not work here...

Can you post the output of: cat .local/share/gnome-shell/extensions/[email protected]/metadata.json?

Sure!

cat
.local/share/gnome-shell/extensions/[email protected]/metadata.json

{
   "_generated": "Generated by SweetTooth, do not edit",
   "description": "Display system informations in gnome shell status 
bar, such as memory usage, cpu usage, network rates\u2026",
   "gettext-domain": "system-monitor",
   "name": "system-monitor",
   "settings-schema": "org.gnome.shell.extensions.system-monitor",
   "shell-version": [
     "3.4",
     "3.6",
     "3.8",
     "3.10",
     "3.12",
     "3.14",
     "3.16",
     "3.18",
     "3.20",
     "3.22"
   ],
   "url": 
"https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet",
   "uuid": "[email protected]",
   "version": 31
}

Interesting, why is gnome 3.24 entry missing here?

Am 25.04.2017 um 08:23 schrieb Fran Glais:

|cat
.local/share/gnome-shell/extensions/[email protected]/metadata.json|

Perfect, thanks. This suggests you are not running the master branch.

How are you installing it exactly?

Here is a way:

git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
cd gnome-shell-system-monitor-applet/
make && make install

You'll need to restart the session after that.

Damn, this is embarrassing! It seems that for some reason I did copy on old version instead of symlinking correctly. Sorry for disturbing you guys.

Now it works correctly and better than ever. Thanks for helping me out in this. :-)

Great! Glad to hear that!

I've uploaded a new release to E.G.O. It'll be published as soon as it passes review.

Hm, how long does it usually take to pass review?

@alexeymuranov I am not sure how long it takes for the new release to pass review but I believe the new release is on the GNOME Shell Extensions site since I just installed it successfully.

Yes, it works since today.

@alexeymuranov It usually takes between 1 or 2 weeks for the review (on average). It just depends when you submit. You might get lucky and submit just before a batch of reviews and have it available within a few hours.

Here you can check the extensions awaiting review: https://extensions.gnome.org/review/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alexander-Serov picture Alexander-Serov  Â·  9Comments

beruic picture beruic  Â·  10Comments

dkumor picture dkumor  Â·  10Comments

motoshkov picture motoshkov  Â·  11Comments

jakethelizard99 picture jakethelizard99  Â·  4Comments