Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not guess unspecified GValue type #296

Closed
julienkosinski opened this issue May 12, 2021 · 8 comments
Closed

Error: Could not guess unspecified GValue type #296

julienkosinski opened this issue May 12, 2021 · 8 comments

Comments

@julienkosinski
Copy link

julienkosinski commented May 12, 2021

Hi,

When I open Settings, I have a "Something went wrong" page with this error.

The settings of extension clipboard-indicator@tudmotu.com had an error:

Error: Could not guess unspecified GValue type

Stack trace:

addKeybinding@/home/julien/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:281:11
_init@/home/julien/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:109:22
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
_Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:19:10
newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:115:21
buildPrefsWidget@/home/julien/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:257:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207: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

It's Ubuntu 21.04 on Wayland or Xorg
GNOME Shell 3.38.4

Thanks :)

@vtlkzmn
Copy link

vtlkzmn commented May 13, 2021

Same with me.

I've tried to make this work by

model.set(row,
            [COLUMN_ID, COLUMN_DESCRIPTION, COLUMN_KEY, COLUMN_MODS],
            [id.toString(),        description.toString(),        Number(key),        Number(mods)]);

With this error appeared elsewhere.

The settings of extension clipboard-indicator@tudmotu.com had an error:

TypeError: inputWidget.append is not a function

Stack trace:

_init/addRow</<@/xxx/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:197:33
_init@/xxx/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:216:15
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
_Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:19:10
newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:115:21
buildPrefsWidget@/xxx/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:257:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207: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

Ubuntu 21.04 Wayland,

gnome-shell --version
GNOME Shell 3.38.4

@hjwk
Copy link
Contributor

hjwk commented Jul 8, 2021

Same here

Error: Could not guess unspecified GValue type

Stack trace:
  addKeybinding@/home/ewoshub/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:281:5
  App<._init@/home/ewoshub/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:109:9
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
  Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32
  buildPrefsWidget@/home/ewoshub/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/prefs.js:257:18
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43

Fresh install of Ubuntu 18.04
GNOME Shell 3.28.4

@Tudmotu
Copy link
Owner

Tudmotu commented Jul 14, 2021

Can you try installing an earlier version?

@kryptish
Copy link

ran into the same error GNOME 3 + Wayland, installed version 36 and now the settings page seems to work

@whiskybar
Copy link

I'm afraid this PR #280 removes some compatibility with the earlier GNOME versions. I tried reverting some changes manually and I got the preferences dialog back up again.

@cmoetzing
Copy link

cmoetzing commented Aug 24, 2021

V37 works for me aswell. All versions above that seem to break the settings.

@aggeboe
Copy link

aggeboe commented Sep 14, 2021

V37 works for me aswell. All versions above that seem to break the settings.

V37 works for me as well

@Tudmotu
Copy link
Owner

Tudmotu commented Nov 14, 2021

Thanks for verifying. Newer version support GNOME 40 and above. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants