GSConnect / gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME
GNU General Public License v2.0
3.21k stars 259 forks source link

TypeError: meta is undefined #1277

Closed eeickmeyer closed 2 years ago

eeickmeyer commented 2 years ago

Describe the bug

GSConnect is no longer able to discover devices as of GNOME 42.beta, and phones cannot be paired.

Steps To Reproduce:

  1. Open KDE Connect on phone
  2. Notice computer name flashing in/out
  3. Open GSConnect Mobile Settings on desktop
  4. Preferences dialog is unable to find any phones

Expected behavior

Computer name holds steady on phone, phone shows up on preferences dialog.

Screenshots

N/A

Support Log


GSConnect: 48 (system)
GJS:       17101
Session:   x11
OS:        Ubuntu Jammy Jellyfish (development branch)
--------------------------------------------------------------------------------
Mar 08 19:16:01 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:06 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:broadcast:413]: "Broadcasting to LAN"
Mar 08 19:16:06 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:accept:779]: "lan://192.168.2.231:1716 (7c6e01d6-75d8-4b39-93f2-5b14398d243e)"
Mar 08 19:16:06 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/manager.js:_ensureDevice:351]: "Adding SM-A716U"
Mar 08 19:16:06 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:06 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:close:820]: "lan://192.168.2.231:1716 (7c6e01d6-75d8-4b39-93f2-5b14398d243e)"
Mar 08 19:16:08 dbus-daemon[91252]: [session uid=1000 pid=91252] Activating service name='org.gnome.gedit' requested by ':1.95' (uid=1000 pid=92896 comm="gjs /usr/share/gnome-shell/extensions/gsconnect@an" label="unconfined")
Mar 08 19:16:08 gedit[94084]: Failed to load module "xapp-gtk3-module"
Mar 08 19:16:08 gedit[94084]: Failed to load module "xapp-gtk3-module"
Mar 08 19:16:08 dbus-daemon[91252]: [session uid=1000 pid=91252] Successfully activated service 'org.gnome.gedit'
Mar 08 19:16:08 gnome-shell[91450]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x34000f8
Mar 08 19:16:11 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:16 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:21 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:26 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:31 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:36 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:broadcast:413]: "Broadcasting to LAN"
Mar 08 19:16:36 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:accept:779]: "lan://192.168.2.231:1716 (acbaa2d9-6e97-475a-8a57-495de13244b1)"
Mar 08 19:16:36 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/manager.js:_ensureDevice:351]: "Adding SM-A716U"
Mar 08 19:16:36 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:36 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:close:820]: "lan://192.168.2.231:1716 (acbaa2d9-6e97-475a-8a57-495de13244b1)"
Mar 08 19:16:41 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:broadcast:413]: "Broadcasting to LAN"
Mar 08 19:16:41 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:accept:779]: "lan://192.168.2.231:1716 (359698db-d93e-4efc-a255-5b3213386f32)"
Mar 08 19:16:41 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/manager.js:_ensureDevice:351]: "Adding SM-A716U"
Mar 08 19:16:41 gjs[92143]: JS ERROR: erich-UFocus: TypeError: meta is undefined
                            _handleIdentity@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:285:17
                            _init@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:123:18
                            Device@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/device.js:79:4
                            _ensureDevice@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:364:22
                            _onChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/manager.js:216:35
                            channel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/core.js:445:19
                            _onIncomingChannel@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/backends/lan.js:216:18
                            Async*@/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:727:17
Mar 08 19:16:41 org.gnome.Shell.Extensions.GSConnect[92143]: [/service/backends/lan.js:close:820]: "lan://192.168.2.231:1716 (359698db-d93e-4efc-a255-5b3213386f32)"

System Details (please complete the following information):

GSConnect environment (if applicable):

Additional Notes:

I'm the person currently doing the package for Ubuntu

andyholmes commented 2 years ago

Ah, probably another instance of the same. I'll try and have a look when I get a chance, but as I'm basically shooting blind it might take a bit to track down all the dynamic imports.