Re: [gnome-shell-ext] imports.misc.util throwing "Error: Requiring Shell, version none: Typelib file for namespace 'Meta', version '3.0' not found"
- From: Mario Wenzel <maweki gmail com>
- To: Vitor Araujo Boufleur <v boufleur gmail com>, gnome-shell-extensions-list gnome org
- Subject: Re: [gnome-shell-ext] imports.misc.util throwing "Error: Requiring Shell, version none: Typelib file for namespace 'Meta', version '3.0' not found"
- Date: Fri, 18 Nov 2016 09:59:21 +0100
Hi Vitor,
first of all, as an extension developer you might want to join this
(rather new) mailing list. This is the way we (the GNOME people) want
to keep touch with the extension developer community.
Then please tell us which shell version you're running and in which
context you're running this command. For example, if you're creating a
shell extension, you can't run it with gjs, it has to be run from the
shell context instead of the user context (which would be gjs).
If you press alt+f2 and enter "lg", you get a js console in the shell
context. Does the command work there?
Mario
Am Donnerstag, den 17.11.2016, 16:41 -0200 schrieb Vitor Araujo
Boufleur:
Hi all,
This line "const Util = imports.misc.util;" is throwing this error
"Error: Requiring Shell, version none: Typelib file for namespace
'Meta', version '3.0' not found".
Stack trace:
@resource:///org/gnome/shell/misc/util.js:7
@/home/CENSORED/.local/share/gnome-
shell/extensions/CENSORED/lib/util.js:34
@/home/CENSORED/.local/share/gnome-
shell/extensions/CENSORED/prefs.js:7
Application<._getExtensionPrefsModule@resource:///org/gnome/shell/ext
ensionPrefs/main.js:74
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Application<._selectExtension@resource:///org/gnome/shell/extensionPr
efs/main.js:89
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Application<._onCommandLine@resource:///org/gnome/shell/extensionPref
s/main.js:238
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
main@resource:///org/gnome/shell/extensionPrefs/main.js:376
@<main>:1
Does anyone know the cause of this?
With regards,
Vitor Araujo Boufleur
_______________________________________________
gnome-shell-extensions-list mailing list
gnome-shell-extensions-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-extensions-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]