UshakovVasilii / gnome-shell-extension-freon

Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM
https://extensions.gnome.org/extension/841/freon
GNU General Public License v2.0
431 stars 77 forks source link

Warning: "Some code called array.toString() on a Uint8Array instance" #264

Closed AlexWayfer closed 10 months ago

AlexWayfer commented 1 year ago
May 31 13:21:33 AlexArchPC gnome-shell[7125]: 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 use TextDecoder.
                                              (Note that array.toString() may have been called implicitly.)
                                              0 HddtempUtil() ["/home/alex/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/hddtempUtil.js":27:114]
                                              1 _initHddtempUtility() ["/home/alex/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":376:34]
                                              2 _init() ["/home/alex/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":83:13]
                                              3 ButtonBox() ["resource:///org/gnome/shell/ui/panelMenu.js":11:0]
                                              4 PanelMenuButton() ["resource:///org/gnome/shell/ui/panelMenu.js":97:3]
                                              5 Freon_FreonMenuButton() ["/home/alex/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":57:46]
                                              6 enable() ["/home/alex/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":979:16]
                                              7 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":196:37]
                                              8 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":398:31]
                                              9 InterpretGeneratorResume() ["self-hosted":1422:33]
                                              10 AsyncFunctionNext() ["self-hosted":632:26]
menocheck commented 11 months ago

This should be fixed by now.