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

nightly noncritical error on gnome 46

Open Harv234 opened this issue 2 years ago • 4 comments

Describe the bug

When starting up journalctl shows the following uncritical error:

gjs: Gio.UnixInputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.InputStream instead. 0 _initUdpListener() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/backends/lan.js":267:16] 1 start() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/backends/lan.js":458:21] 2 _loadBackends() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/manager.js":259:24] 3 start() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/manager.js":462:13] 4 vfunc_startup() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js":263:21] 5 vfunc_handle_local_options() ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js":660:17] 6 <TOP LEVEL> ["/home/harvey/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js":720:16]

Steps to reproduce

journalctl -b -p4

Expected behavior

No response

GSConnect version

56 nightly 2024-April-04

Installed from

GitHub releases (zip file)

GNOME Shell version

46

Linux distribution/release

Arch

Paired device(s)

OnePlus IN2023

KDE Connect app version

1.29.0

Plugin(s)

No response

Support log

No response

Screenshots

No response

Notes

No response

Harv234 avatar Apr 04 '24 06:04 Harv234

Thanks, I forgot about this change.

andyholmes avatar Apr 04 '24 15:04 andyholmes

I can confirm that the message has gone away with today's nigtly. And even better: no other messages appeared :+1:

Harv234 avatar Apr 09 '24 05:04 Harv234

User reported still getting it on 57 here:

https://github.com/GSConnect/gnome-shell-extension-gsconnect/blob/43258f924311c80744068e5af794db3c95df925f/src/preferences/service.js#L60

Apparently, it can also happen due to a gjs bug: https://gitlab.gnome.org/GNOME/gjs/-/issues/610

jtojnar avatar Jun 05 '24 22:06 jtojnar

I, too, am still getting the warning with v57, on Fedora 40 with GNOME 46. Reopening to track that straggler message.

The linked bug was fixed in gjs, but having the message go away would be dependent on using a GJS version that contains the fix. The most recent release, 1.80.2, was made a day before that fix merged.

(Edit: Sorry, actually, 1.80.2 was released a day before the fix was submitted, and 6 days before it merged.)

ferdnyc avatar Jun 14 '24 17:06 ferdnyc

This eventually went away, yay.

(Now we have issues with Gio.InputStream, Gio.ApplicationData, etc. being removed in the latest GLib releases, causing problems unless we switch everything else over to GioUnix. But that's a mostly-separate issue.)

ferdnyc avatar Dec 09 '25 06:12 ferdnyc