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

Extension says could not connect to gpaste-daemon on GNOME 45 #428

Closed
bbhtt opened this issue Sep 13, 2023 · 8 comments · Fixed by #429
Closed

Extension says could not connect to gpaste-daemon on GNOME 45 #428

bbhtt opened this issue Sep 13, 2023 · 8 comments · Fixed by #429

Comments

@bbhtt
Copy link
Contributor

bbhtt commented Sep 13, 2023

Using an RPM built from 734286a https://github.com/bbhtt/GPaste/releases/tag/master-gnome45

for GNOME 45 on Fedora 39 GNOME 45.rc It was working fine on GNOME 45 beta. Issue started after updating to 45.rc

Journalctl has these errors:

Sep 13 20:25:44 fedora gnome-shell[3313]: JS ERROR: TypeError: (intermediate value).Align is undefined
                                          _init@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageItem.js:18:13
                                          GPastePageItem@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageItem.js:14:4
                                          _addPage@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageSwitcher.js:69:18
                                          updateForSize@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageSwitcher.js:50:18
                                          _refresh/</<@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/indicator.js:259:45
                                          @resource:///org/gnome/shell/ui/init.js:21:20
Sep 13 20:25:44 fedora gnome-shell[3313]: JS ERROR: TypeError: (intermediate value).Align is undefined
                                          _init@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageItem.js:18:13
                                          GPastePageItem@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageItem.js:14:4
                                          _addPage@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageSwitcher.js:69:18
                                          updateForSize@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/pageSwitcher.js:50:18
                                          _refresh/</<@file:///usr/share/gnome-shell/extensions/GPaste@gnome-shell-extensions.gnome.org/indicator.js:259:45
                                          @resource:///org/gnome/shell/ui/init.js:21:20

Gpaste itself launches and works fine

@Keruspe
Copy link
Owner

Keruspe commented Sep 16, 2023

How reproductible is it? Does it still occur after a reboot ?
I run it smoothly on fedora 39 here

@bbhtt
Copy link
Contributor Author

bbhtt commented Sep 16, 2023

I run it smoothly on fedora 39 here

I think 45.rc isn't released to the stable repos, you need to enable updates-testing to get them. It was working in 45.beta which F39 has by default.

How reproductible is it? Does it still occur after a reboot ?

Happened every time. It didn't work at all. I tried the gdb method on daemon but nothing. The daemon itself works

@Keruspe
Copy link
Owner

Keruspe commented Sep 16, 2023 via email

@bbhtt
Copy link
Contributor Author

bbhtt commented Sep 16, 2023

Right. Will enable updates-testing and fix it tonight. Any pointers as to how to enable this to avoid me the searching ?

It's in GNOME software > menu > software repositories > Test updates

image

Or https://fedoraproject.org/wiki/How_to_test_updates#Enable_the_updates-testing_repo

Thanks

@Keruspe
Copy link
Owner

Keruspe commented Sep 16, 2023 via email

@Keruspe
Copy link
Owner

Keruspe commented Sep 16, 2023

Fwiw, it's caused by https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/b45e75c4b99934a8ef12179bd23b1019c0269dbc

We should be using Clutter.ActorAlign instead of St.Align if you want to give it a shot 🙂

@bbhtt
Copy link
Contributor Author

bbhtt commented Sep 16, 2023

We should be using Clutter.ActorAlign instead of St.Align if you want to give it a shot 🙂

Thanks, not really familiar with shell/extensions but I opened a PR with what I think are the replacements.

And you are right it does fix the issue. I rebuilt my rpms to check.

@Keruspe
Copy link
Owner

Keruspe commented Sep 16, 2023

Welcome to the contributors!

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

Successfully merging a pull request may close this issue.

2 participants