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

issues with egClutter.js and egCairo.js #4

Open
makerio90 opened this issue May 17, 2021 · 2 comments
Open

issues with egClutter.js and egCairo.js #4

makerio90 opened this issue May 17, 2021 · 2 comments

Comments

@makerio90
Copy link

makerio@makerio:~/Projects/gtk stuff/gjs-examples-master$ gjs egClutter.js

(gjs:7365): Gjs-WARNING **: 23:22:55.015: JS ERROR: Error: Requiring GtkClutter, version none: Typelib file for namespace 'GtkClutter' (any version) not found
@egClutter.js:15:23


(gjs:7365): Gjs-CRITICAL **: 23:22:55.015: Script egClutter.js threw an exception
makerio@makerio:~/Projects/gtk stuff/gjs-examples-master$ gjs egCairo.js

(gjs:7556): Gjs-WARNING **: 23:25:42.247: JS ERROR: Error: Requiring GtkClutter, version none: Typelib file for namespace 'GtkClutter' (any version) not found
@egCairo.js:16:23


(gjs:7556): Gjs-CRITICAL **: 23:25:42.247: Script egCairo.js threw an exception
@eexpress
Copy link

Same here. I test those

imports.gi.versions.Gtk = '3.0';
imports.gi.versions.Gdk = '2.0';

Still got error. And I had tested 2.42.6, 2.42, etc. All not found.

Requiring Gdk, version 2.0: Typelib file for namespace 'Gdk', version '2.0' not found

My gdk package list here

⭕ apt list --installed *gdk*
Listing... Done
gir1.2-gdkpixbuf-2.0/impish,now 2.42.6+dfsg-1build2 amd64 [installed,automatic]
libgdk-pixbuf-2.0-0/impish,now 2.42.6+dfsg-1build2 amd64 [installed,automatic]
libgdk-pixbuf-2.0-0/impish,now 2.42.6+dfsg-1build2 i386 [installed,automatic]
libgdk-pixbuf-2.0-dev/impish,now 2.42.6+dfsg-1build2 amd64 [installed,automatic]
libgdk-pixbuf-xlib-2.0-0/impish,now 2.40.2-2build2 amd64 [installed,automatic]
libgdk-pixbuf-xlib-2.0-dev/impish,now 2.40.2-2build2 amd64 [installed,automatic]
libgdk-pixbuf2.0-0/impish,now 2.40.2-2build2 amd64 [installed,automatic]
libgdk-pixbuf2.0-bin/impish,now 2.42.6+dfsg-1build2 amd64 [installed,automatic]
libgdk-pixbuf2.0-common/impish,impish,now 2.42.6+dfsg-1build2 all [installed,automatic]
libgdk-pixbuf2.0-dev/impish,now 2.40.2-2build2 amd64 [installed,automatic]

@ten0s
Copy link

ten0s commented Nov 23, 2022

(gjs:7365): Gjs-WARNING **: 23:22:55.015: JS ERROR: Error: Requiring GtkClutter, version none: Typelib file for namespace 'GtkClutter' (any version) not found
@egClutter.js:15:23

$ sudo apt install gir1.2-gtkclutter-1.0

Requiring Gdk, version 2.0: Typelib file for namespace 'Gdk', version '2.0' not found

GTK and GDK versions should be equal

imports.gi.versions.Gtk = '3.0';
imports.gi.versions.Gdk = '3.0';

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

3 participants