gnome-shell-extension-blyr icon indicating copy to clipboard operation
gnome-shell-extension-blyr copied to clipboard

Error Gnome 3.38

Open rebdeg opened this issue 5 years ago • 21 comments

Can't install this extension under gnome 3.37.92 (3.38), gives an error.

rebdeg avatar Sep 13 '20 11:09 rebdeg

I confirm this.

It's "No JS module 'tweener' found in search path", to be more precise.

dayfuaim avatar Sep 17 '20 11:09 dayfuaim

Thanks for reporting this bug - I will look into it as soon as I have a GNOME 3.38 installation available for testing.

yozoon avatar Sep 22 '20 07:09 yozoon

Have you debugged the issue? GNOME OS is available if your distro is still stuck on 3.36

xerz-one avatar Sep 28 '20 10:09 xerz-one

There's also Ubuntu 20.10 beta and Fedora 33 beta I believe, dying for this to be fixed, the same error has broke a few extensions I use actually

ghost avatar Oct 09 '20 00:10 ghost

Have you debugged the issue? GNOME OS is available if your distro is still stuck on 3.36

It is evident that Tweener has been removed see link

MichalLebeda avatar Oct 09 '20 11:10 MichalLebeda

I'm on Arch, which already updated GNOME to version 3.38. Yes the removal of Tweener is one problem, but the second complication is that GNOME also changed the way background content is represented in the MetaBackground actor... fixing this without causing problems for older versions will take some time

yozoon avatar Oct 09 '20 12:10 yozoon

Tweener is still available, but its import path has changed to imports.tweener.tweener

aeveris avatar Oct 09 '20 12:10 aeveris

I'm on Arch, which already updated GNOME to version 3.38. Yes the removal of Tweener is one problem, but the second complication is that GNOME also changed the way background content is represented in the MetaBackground actor... fixing this without causing problems for older versions will take some time

tried to fix that in my pull req, but i thought that versioning is managed by extensions gnome webpage. So you can ignore it as it doesn't handle shell versions (my fault)

MichalLebeda avatar Oct 09 '20 14:10 MichalLebeda

Can't we just use older version for 3.36 and newer fixed version for 3.38+?

MichalLebeda avatar Oct 13 '20 16:10 MichalLebeda

I'm just a user who reports bugs I find but I'd personally be fine with the above ^ assuming the devs would want to do it. Maybe a branch for the people willing to test and help out or something?

ghost avatar Oct 13 '20 17:10 ghost

I'm just a user who reports bugs I find but I'd personally be fine with the above ^ assuming the devs would want to do it. Maybe a branch for the people willing to test and help out or something?

my fork works on 3.38 and it was easy to fix. The problem is, that it blinks with blackscreen when closing overview now, IDK why + no backward compatibility

MichalLebeda avatar Oct 13 '20 17:10 MichalLebeda

You can now test the extension on branch 338. It generally works now by checking the shell version and doing the appropriate action for that version (way to many if statements for my taste...). But sometimes I still get some some weird runtime behaviour like panel blur appearing and disappearing spontaneousely. For some reason the panel background opacity gets blurred sometimes as well, leading to a washed out blur effect... Maybe someone can pin down the exact cause of those problems. I haven't yet been able to find anything in the logs that could point me towards a solution.

yozoon avatar Oct 14 '20 09:10 yozoon

I'll get to testing and let you know if I find anything reliable or useful, as always big thanks yozoon!

ghost avatar Oct 14 '20 16:10 ghost

Edit: It's running pretty well on my end, haven't seen any panel weirdness yet but I have found three issues, where's the best place to report the issue?

ghost avatar Oct 14 '20 17:10 ghost

Isn't tweener now just imports.tweener.tweener; instead of imports.ui.tweener; ?

Like Panel OSD extension does https://gitlab.com/jenslody/gnome-shell-extension-panel-osd/-/merge_requests/30/diffs

Alexmitter avatar Oct 16 '20 11:10 Alexmitter

Its possible to use something like this to keep it compatible?

const Tweener = imports.tweener ? imports.tweener.tweener :  imports.ui.tweener;

maxjf1 avatar Oct 26 '20 22:10 maxjf1

Changed Tweener const as seen on @Alexmitter post, and installed clutter, didnt worked...

Hexcz avatar Nov 03 '20 02:11 Hexcz

You can now test the extension on branch 338. It generally works now by checking the shell version and doing the appropriate action for that version (way to many if statements for my taste...). But sometimes I still get some some weird runtime behaviour like panel blur appearing and disappearing spontaneousely. For some reason the panel background opacity gets blurred sometimes as well, leading to a washed out blur effect... Maybe someone can pin down the exact cause of those problems. I haven't yet been able to find anything in the logs that could point me towards a solution.

Apparently the changes on this branch worked for me. No issues found so far. Thanks!

Hexcz avatar Nov 30 '20 19:11 Hexcz

Does not work for me on manjaro gnome 3.38.2 (lg shows "No JS module 'tweener' found in search path").

henrik-wittenberg avatar Dec 04 '20 14:12 henrik-wittenberg

Does not work for me on manjaro gnome 3.38.2 (lg shows "No JS module 'tweener' found in search path").

Try using the 338 branch instead of master. It should work.

Hexcz avatar Dec 04 '20 15:12 Hexcz

I just wanted to come back and say, I've been using the 338 branch since just before Ubuntu 20.10 released in hopes of being useful and reporting bugs but besides the one already reported about the folders in dash, I haven't run into any. It's working smoothly for me.

ghost avatar Dec 06 '20 20:12 ghost