hslbck / gnome-shell-extension-radio

Gnome shell extension for listening to internet radio streams
GNU General Public License v3.0
144 stars 42 forks source link

this.channelList is null #195

Closed mrbvrz closed 1 year ago

mrbvrz commented 1 year ago

Internet radio can't run with error this.channelList is null,

TypeError: this.jsonfile is null

Stack trace:
  _createStations@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:103:19
  _init@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:98:9
  StationPane@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:65:2
  _init@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:52:19
  RadioPrefsWidget@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:43:2
  buildPrefsWidget@/home/suryaman/.local/share/gnome-shell/extensions/radio@hslbck.gmail.com/prefs.js:739:9
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22: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

Screenshot from 2023-01-21 18-33-47

hslbck commented 1 year ago

Sounds like your file for the stations is corrupt. Please check the file channelList.json in the folder ~/.gse-radio. If it's empty or not in a valid format, please just delete this file, it will be newly created from the default file, which is provided by the extension

mrbvrz commented 1 year ago

oke thanks, i just delete channelList.json in the folder ~/.gse-radio and reisntall the extension.