{"action":"created","issue":{"url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/6","repository_url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect","labels_url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/6/comments","events_url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/6/events","html_url":"https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/6","id":275254308,"number":6,"title":"The v5 release can't discover or communicate with devices, under Fedora 26","user":{"login":"ferdnyc","id":538020,"avatar_url":"https://avatars0.githubusercontent.com/u/538020?v=4","gravatar_id":"","url":"https://api.github.com/users/ferdnyc","html_url":"https://github.com/ferdnyc","followers_url":"https://api.github.com/users/ferdnyc/followers","following_url":"https://api.github.com/users/ferdnyc/following{/other_user}","gists_url":"https://api.github.com/users/ferdnyc/gists{/gist_id}","starred_url":"https://api.github.com/users/ferdnyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferdnyc/subscriptions","organizations_url":"https://api.github.com/users/ferdnyc/orgs","repos_url":"https://api.github.com/users/ferdnyc/repos","events_url":"https://api.github.com/users/ferdnyc/events{/privacy}","received_events_url":"https://api.github.com/users/ferdnyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-20T06:58:27Z","updated_at":"2017-11-20T08:09:20Z","closed_at":null,"author_association":"NONE","body":"I tried running the v5 release under Fedora 26 (gnome-shell 3.24.3) and got no love at all. Other devices never showed up in the preferences interface, and my PC never appeared in the KDE Connect app on Android. Downgrading to v3 made everything happy. (I don't know why I went to v3, skipping v4 — I think because the release notes indicated it was specifically written to be compatible with Gnome 3.24.) \r\n\r\nUnder v5, and with debugging on, a number of errors are logged to the user journal, all centering around issues with `this.identity` in `daemon.js`:\r\n```\r\nNov 20 01:41:50 teevey gjs[26674]: JS LOG: UdpListener: using port 1716\r\nNov 20 01:41:50 teevey gjs[26674]: JS LOG: TcpListener: using port 1716\r\nNov 20 01:41:51 teevey gnome-shell[1634]: [gsconnect@andyholmes.github.io]: extension.SystemIndicator._serviceAppeared()\r\nNov 20 01:41:59 teevey gjs[26674]: JS WARNING: [/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js 121]: reference to undefined property this.identity\r\nNov 20 01:41:59 teevey gjs[26674]: JS ERROR: TypeError: this.identity is undefined\r\n                                   Daemon<.name@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:121:9\r\n                                   _handlePropertyGet@resource:///org/gnome/gjs/modules/overrides/Gio.js:310:9\r\n                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:334:16\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:41:59 teevey gjs[26674]: JS WARNING: [/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js 132]: reference to undefined property this.identity\r\nNov 20 01:41:59 teevey gjs[26674]: JS ERROR: TypeError: this.identity is undefined\r\n                                   Daemon<.type@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:132:9\r\n                                   _handlePropertyGet@resource:///org/gnome/gjs/modules/overrides/Gio.js:310:9\r\n                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:334:16\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:00 teevey gnome-shell-ext[26781]: JS LOG: [gsconnect@andyholmes.github.io]: PrefsWidget._serviceAppeared()\r\nNov 20 01:42:00 teevey gjs[26674]: JS WARNING: [/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js 191]: reference to undefined property this.identity\r\nNov 20 01:42:00 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.send()\r\nNov 20 01:42:00 teevey gjs[26674]: JS ERROR: TypeError: packet is undefined\r\n                                   UdpListener<.send@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:213:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.broadcast@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:191:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.discovering@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:109:13\r\n                                   _handlePropertySet@resource:///org/gnome/gjs/modules/overrides/Gio.js:318:27\r\n                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:337:16\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:03 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.send()\r\nNov 20 01:42:03 teevey gjs[26674]: JS ERROR: TypeError: packet is undefined\r\n                                   UdpListener<.send@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:213:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.broadcast@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:191:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.discovering@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:109:13\r\n                                   _handlePropertySet@resource:///org/gnome/gjs/modules/overrides/Gio.js:318:27\r\n                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:337:16\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:04 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.send()\r\nNov 20 01:42:04 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.send()\r\nNov 20 01:42:04 teevey gjs[26674]: JS ERROR: TypeError: packet is undefined\r\n                                   UdpListener<.send@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:213:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.broadcast@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:191:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.discovering@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:109:13\r\n                                   _handlePropertySet@resource:///org/gnome/gjs/modules/overrides/Gio.js:318:27\r\n                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:337:16\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.receive()\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: Daemon._addDevice(lge)\r\nNov 20 01:42:09 teevey gjs[26674]: JS WARNING: [/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js 241]: reference to undefined property this.identity\r\nNov 20 01:42:09 teevey gjs[26674]: JS ERROR: TypeError: this.identity is undefined\r\n                                   Daemon<._addDevice@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:241:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.vfunc_startup/<@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:576:17\r\n                                   UdpListener<.receive@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:245:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.receive()\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: Daemon._addDevice(lge)\r\nNov 20 01:42:09 teevey gjs[26674]: JS ERROR: TypeError: this.identity is undefined\r\n                                   Daemon<._addDevice@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:241:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.vfunc_startup/<@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:576:17\r\n                                   UdpListener<.receive@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:245:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: UdpListener.receive()\r\nNov 20 01:42:09 teevey gjs[26674]: JS LOG: [gsconnect@andyholmes.github.io]: Daemon._addDevice(lge)\r\nNov 20 01:42:09 teevey gjs[26674]: JS ERROR: TypeError: this.identity is undefined\r\n                                   Daemon<._addDevice@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:241:1\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   Daemon<.vfunc_startup/<@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:576:17\r\n                                   UdpListener<.receive@/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/protocol.js:245:9\r\n                                   wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22\r\n                                   @/home/ferd/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js:649:2\r\n```\r\n\r\n(`lge` is my LG LS-860 Android phone, which paired just fine once I was running extension v3.)"},"comment":{"url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/comments/345619793","html_url":"https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/6#issuecomment-345619793","issue_url":"https://api.github.com/repos/andyholmes/gnome-shell-extension-gsconnect/issues/6","id":345619793,"user":{"login":"andyholmes","id":1265208,"avatar_url":"https://avatars0.githubusercontent.com/u/1265208?v=4","gravatar_id":"","url":"https://api.github.com/users/andyholmes","html_url":"https://github.com/andyholmes","followers_url":"https://api.github.com/users/andyholmes/followers","following_url":"https://api.github.com/users/andyholmes/following{/other_user}","gists_url":"https://api.github.com/users/andyholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/andyholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyholmes/subscriptions","organizations_url":"https://api.github.com/users/andyholmes/orgs","repos_url":"https://api.github.com/users/andyholmes/repos","events_url":"https://api.github.com/users/andyholmes/events{/privacy}","received_events_url":"https://api.github.com/users/andyholmes/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T08:09:20Z","updated_at":"2017-11-20T08:09:20Z","author_association":"OWNER","body":"If you don't mind digging in a bit, you could move the line in `daemon.js` [here](https://github.com/andyholmes/gnome-shell-extension-gsconnect/blob/c5ef0faa760efb7c97a40ff0a569a913e0612db0/src/service/daemon.js#L605) to just after the UDP inititalization [here](https://github.com/andyholmes/gnome-shell-extension-gsconnect/blob/c5ef0faa760efb7c97a40ff0a569a913e0612db0/src/service/daemon.js#L574). That might solve your problem."}}
{"actor":{"display_login":"andyholmes"}}