johannesjo / gnome-shell-extension-super-productivity

The companion gnome shell extension for super productivity
http://super-productivity.com/
MIT License
2 stars 1 forks source link

No indication that the extension is running, error status #2

Open hackel opened 6 years ago

hackel commented 6 years ago

I've just installed the latest version from extensions.gnome.org, but it does not show up in the panel, and shows an error status. Here is the output from my syslog:

Mar  9 10:45:59 xps dbus-daemon[2645]: Successfully activated service 'org.gnome.ChromeGnomeShell'
Mar  9 10:46:12 xps gnome-shell[10256]: JS WARNING: [resource:///org/gnome/shell/ui/extensionDownloader.js 86]: reference to undefined property "GLocalFileOutputStream"
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]: Archive:  /tmp/6A6ZFZ.shell-extension.zip
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:   inflating: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/dbus.xml
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:   inflating: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/extension.js
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:   inflating: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/dbus.js
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:   inflating: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/stylesheet.css
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:   inflating: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/tray-ico@2.png
Mar  9 10:46:12 xps org.gnome.Shell.desktop[10256]:  extracting: /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com/metadata.json
Mar  9 10:46:12 xps gnome-shell[10256]: Some code accessed the property 'ENABLED_EXTENSIONS_KEY' on the module 'extensionSystem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Mar  9 10:46:12 xps gnome-shell[10256]: super Dbus:, true, <interface name="com.super.productivity.service">#012    <method name="markAsDone">#012    </method>#012    <method name="startTask">#012    </method>#012    <method name="pauseTask">#012    </method>#012    <method name="quitApp">#012    </method>#012    <method name="showApp">#012    </method>#012    <signal name='taskChanged'>#012        <arg type='s'/>#012        <arg type='s'/>#012    </signal>#012</interface>
Mar  9 10:46:12 xps gnome-shell[10256]: Some code accessed the property 'SuperProductivityIface' on the module 'dbus'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Mar  9 10:46:12 xps gnome-software[3078]: no app for changed indicator@johannes.super-productivity.com
Mar  9 10:46:12 xps gnome-software[3078]: no app for changed indicator@johannes.super-productivity.com
Mar  9 10:46:12 xps gnome-shell[10256]: super, DIS _ CONNECTED
Mar  9 10:47:22 xps gjs[6579]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Mar  9 10:47:26 xps gnome-shell[10256]: Some code accessed the property 'Util' on the module 'main'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Mar  9 10:47:27 xps org.gnome.Shell.desktop[10256]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4200007 (Shell Exte)
Mar  9 10:47:47 xps gnome-shell[10256]: Extension "indicator@johannes.super-productivity.com" had error: TypeError: spMenu is undefined
Mar  9 10:47:47 xps gnome-software[3078]: no app for changed indicator@johannes.super-productivity.com
Mar  9 10:47:47 xps gnome-shell-ext[17784]: JS LOG: Extension indicator@johannes.super-productivity.com already installed in /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com. /home/hackel/.local/share/gnome-shell/extensions/indicator@johannes.super-productivity.com will not be loaded
Mar  9 10:47:53 xps gjs[6579]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Mar  9 10:47:53 xps gjs[6579]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Mar  9 10:48:08 xps superproductivity_superproductivity.desktop[18005]: Gtk-Message: Failed to load module "gail"
Mar  9 10:48:08 xps superproductivity_superproductivity.desktop[18005]: Gtk-Message: Failed to load module "atk-bridge"
Mar  9 10:48:08 xps superproductivity_superproductivity.desktop[18005]: Gtk-Message: Failed to load module "canberra-gtk-module"
Mar  9 10:48:09 xps kernel: [62897.021898] audit: type=1107 audit(1520614089.495:7630): pid=1298 uid=105 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=18005 label="snap.superproductivity.superproductivity" peer_pid=1269 peer_label="unconfined"

I'm running Gnome Shell 3.26.2 on Ubuntu 17.10, super-productivity 1.8.3 snap. Thanks!

Edit: I suspect this is related to the snap. Looks like it needs to have a slot connected to the dbus interface. https://forum.snapcraft.io/t/how-do-i-connect-a-snap-to-dbus/1533/2

johannesjo commented 6 years ago

Thanks for reporting. I'll look into it, as soon as I can.

johannesjo commented 6 years ago

Ok I think I found the issue. On the extensions page there isn't the latest version of the extension and the old one is not compatible any more as it seems. I updated it to the latest version, but the review process of gnome.extension.org could take some time Could you please try installing the extension directly from git and see if it works there?