Skip to content

Error after installation - Gnome 48 #2

Description

@henriqueffc

I installed the extension using Extension Manager (flatpak version) and after installing I restarted the machine. I did not do any configuration in the extension, such as inserting a new bang. I would do it after restarting the machine, but the following error appeared.

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data @ file:///home/user/.local/share/gnome-shell/extensions/bangs-search@suvan/prefs.js:107:25

Stack trace:
  _loadBangsFromFile@file:///home/user/.local/share/gnome-shell/extensions/bangs-search@suvan/prefs.js:107:25
  fillPreferencesWindow@file:///home/user/.local/share/gnome-shell/extensions/bangs-search@suvan/prefs.js:15:26
  _loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:39:24
  async*_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:24:14
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:15:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:138:33
  async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:125:14
  _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34

I use Gnome 48 on Arch Linux.

I deleted the extension and, after installing it again, I inserted a bang and restarted the machine. It worked without problems. But if I install the extension and restart the machine, without inserting a bang, it presents this error. Maybe it's something with my machine, however, I thought it best to inform the developer.

Thanks for making this extension. It helps a lot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions