Public bug reported: Upon installation, gnome shell attempts to load system-monitor extension but it fails with the following errors:
``` JS ERROR: Extension system-moni...@paradoxxx.zero.gmail.com: Error: Tried to construct an object without a GType; are you using GObject.registerClass() when inheriting from a GObject type? SystemMonitor_TipItem@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:640:9 tip_format@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:898:27 SystemMonitor_Cpu@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:1196:14 createCpus@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:1363:20 enable@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:2316:26 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:161:32 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:312:26 ``` ``` JS ERROR: TypeError: this.tip_labels[i] is undefined update@/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js:925:56 ``` Also a warning: ``` JS WARNING: [/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/extension.js 925]: reference to undefined property 0 ``` I get yet one more message pertaining multiple extensions but including many messages from system-monitor, but I think this to be mostly a warning: ``` Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array). (Note that array.toString() may have been called implicitly.) 0 check_sensors() ["/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/prefs.js":59:16] 1 add() ["/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/prefs.js":218:37] 2 SystemMonitor_App/<() ["/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/prefs.js":351:47] 3 forEach() ["self-hosted":266:12] 4 SystemMonitor_App() ["/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/prefs.js":307:13] 5 buildPrefsWidget() ["/usr/share/gnome-shell/extensions/system-moni...@paradoxxx.zero.gmail.com/prefs.js":366:17] 6 _showPrefs() ["resource:///org/gnome/shell/extensionPrefs/main.js":174:37] 7 openPrefs() ["resource:///org/gnome/shell/extensionPrefs/main.js":159:23] 8 _init/<() ["resource:///org/gnome/shell/extensionPrefs/main.js":600:61] 9 main() ["resource:///org/gnome/shell/extensionPrefs/main.js":762:22] 10 <TOP LEVEL> ["<main>":1:47] ``` ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-shell-extension-system-monitor 38-2 ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24 Uname: Linux 5.4.0-18-generic x86_64 ApportVersion: 2.20.11-0ubuntu21 Architecture: amd64 CurrentDesktop: GNOME Date: Thu Apr 2 09:44:25 2020 InstallationDate: Installed on 2019-02-03 (423 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) PackageArchitecture: all SourcePackage: gnome-shell-extension-system-monitor UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-shell-extension-system-monitor (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870285 Title: extension system-monitor cannot be loaded, causes errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-system-monitor/+bug/1870285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs