HarlemSquirrel / gnome-shell-extension-sensory-perception

Displays CPU/GPU/mobo/disk temperatures, voltages and fan speeds
https://extensions.gnome.org/extension/1145/sensory-perception/
GNU General Public License v3.0
27 stars 11 forks source link

Out of date for GNOME 40 #36

Closed rffontenelle closed 3 years ago

rffontenelle commented 3 years ago

Describe the bug It is disable on GNOME 40 with state "out of date", also the Extensions viewer shows an error containing "TypeError: Gtk.RadioButton is not a constructor" (see full error log below)

To Reproduce Steps to reproduce the behavior:

  1. Update GNOME to release 40
  2. Sensory Perception won't start
  3. Run gnome-extensions info sensory-perception@HarlemSquirrel.github.io
  4. See "State: OUT OF DATE"
  5. Open Extensions app
  6. Browse the Sensory Perception extension
  7. See error message

Expected behavior To have Sensory Perception up and running.

Screenshots sensory-perception

Desktop (please complete the following information):

Additional context

Error message displayed in Extensions app:

TypeError: Gtk.RadioButton is not a constructor

Stack trace:
  _init@/home/rafael/.local/share/gnome-shell/extensions/sensory-perception@HarlemSquirrel.github.io/prefs.js:84:33
  buildPrefsWidget@/home/rafael/.local/share/gnome-shell/extensions/sensory-perception@HarlemSquirrel.github.io/prefs.js:281:20
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Output of gnome-extensions info sensory-perception@HarlemSquirrel.github.io:

sensory-perception@HarlemSquirrel.github.io
  Name: Sensory Perception
  Description: Shows CPU temperature, disk temperature, video card temperature, voltage and fan RPM (forked from xtranophilist/gnome-shell-extension-sensors)
  Path: /home/rafael/.local/share/gnome-shell/extensions/sensory-perception@HarlemSquirrel.github.io
  URL: https://github.com/HarlemSquirrel/gnome-shell-extension-sensory-perception
  Version: 13
  State: OUT OF DATE
HarlemSquirrel commented 3 years ago

New release v14 should fix this. It was just submitted for approval but you can download the release and manually install now.

HarlemSquirrel commented 3 years ago

v14 has been approved so closing this.

rffontenelle commented 3 years ago

Installed, thanks!