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

Preferences page crashes on Fedora 40 #137

Open
OskarTDI opened this issue Jul 28, 2024 · 12 comments
Open

Preferences page crashes on Fedora 40 #137

OskarTDI opened this issue Jul 28, 2024 · 12 comments

Comments

@OskarTDI
Copy link

OskarTDI commented Jul 28, 2024

The settings of extension [email protected] had an error:

Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
  require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
  @gi://Clutter/:3:25
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


![Bildschirmfoto vom 2024-07-28 10-43-10](https://github.com/user-attachments/assets/13b213b9-5a98-4429-944b-96ffc6057897)
![Bildschirmfoto vom 2024-07-28 10-46-57](https://github.com/user-attachments/assets/2d38d9cf-308c-40c9-9fbb-90add7ce0a22)

![Bildschirmfoto vom 2024-07-28 10-48-56](https://github.com/user-attachments/assets/e86a920b-3665-420d-b26b-95a6861efc09)

@flurdy
Copy link

flurdy commented Jul 29, 2024

Doing a sudo dnf install cutter did solve the problem for me

@OskarTDI
Copy link
Author

OskarTDI commented Jul 29, 2024

cslab@fedora-eloov0c:~$ sudo dnf install cutter
[sudo] Password for cslab:
Last check for expired metadata: before 0:01:24 on Mon 29 Jul 2024 06:46:31 CEST.
No match for arguments: cutter
Error: No match found: cutter

cslab@fedora-eloov0c:~$ sudo dnf install cutter
[sudo] Passwort für cslab:
RPM Fusion for Fedora 40 - Nonfree 160 kB/s | 69 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - Updates 51 kB/s | 21 kB 00:00
No match for arguments: cutter
Error: No match found: cutter

@sarowarhosen03
Copy link

same issu faced on ubutnu
Screenshot from 2024-07-30 21-38-42

@ryd3v
Copy link

ryd3v commented Jul 30, 2024

Same

The settings of extension [email protected] had an error:

Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
  require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
  @gi://Clutter/:3:25
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

trying to install clutter does not work.

@juanlufont
Copy link

juanlufont commented Jul 31, 2024

Same problem in Debian Trixie (current testing) and Gnome 46

I solved the problem by installing the package gir1.2-gtkclutter-1.0:

  • apt install gir1.2-gtkclutter-1.0
  • logout from the current Gnome session

I got the solution from a similar issue: yozoon/gnome-shell-extension-blyr#21

I guess there may be an equivalent package for Fedora et al.

@ryd3v
Copy link

ryd3v commented Aug 1, 2024

Same problem in Debian Trixie (current testing) and Gnome 46

I solved the problem by installing the package gir1.2-gtkclutter-1.0:

  • apt install gir1.2-gtkclutter-1.0
  • logout from the current Gnome session

I got the solution from a similar issue: yozoon/gnome-shell-extension-blyr#21

I guess there may be an equivalent package for Fedora et al.

This won't work for Fedora though ...

@ryd3v
Copy link

ryd3v commented Aug 1, 2024

Doing a sudo dnf install cutter did solve the problem for me

isn't clutter and cutter 2 different packages?

@ryd3v
Copy link

ryd3v commented Aug 1, 2024

sudo dnf install clutter.x86_64 has fixed it for me.

[~]$ dnf search clutter

@OskarTDI
Copy link
Author

OskarTDI commented Aug 1, 2024

Doing a sudo dnf install clutter.x86_64 did solve the problem for me. Thank you

@vadi2
Copy link

vadi2 commented Aug 15, 2024

sudo apt install gir1.2-gtkclutter-1.0 solved it for me on Ubuntu 24.04, thanks!

It looks like clutter has been discontinued upstream: https://blogs.gnome.org/clutter.

@ryd3v
Copy link

ryd3v commented Aug 16, 2024

sudo apt install gir1.2-gtkclutter-1.0 solved it for me on Ubuntu 24.04, thanks!

It looks like clutter has been discontinued upstream: https://blogs.gnome.org/clutter.

This thread is for Fedora though, but glad you got it sorted out xD

@honnip
Copy link

honnip commented Aug 20, 2024

This is because clutter is imported in the context of prefs.js. More specifically, prefs.js imports lib/shared.js, which imports the clutter.

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

7 participants