GNOME Bugzilla – Bug 662668
Can't show window hidden in the status tray from the command line
Last modified: 2012-09-24 19:11:35 UTC
Even since the switch to GNOME3, I have been starting hamster-applet with a keyboard shorcut configured in the Shell. This simply executes "hamster-time-tracker". This worked fine up to recently. I ended up quitting and restarting the application often but it's ok. Now with clicking on the cross doesn't quit hamster, but it reduces it in the systray. That's ok except that the only way to display again the window is to click on this icon. My shortcut doesn't work anymore. Instead I get a traceback on the command line: $ hamster-time-tracker Gtk-Message: Failed to load module "pk-gtk-module" Traceback (most recent call last):
+ Trace 228906
getattr(server, window)()
return self._proxy_method(*args, **keywords)
**keywords)
message, timeout)
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/bin/hamster-time-tracker", line 562, in main self.app.window.show() AttributeError: 'NoneType' object has no attribute 'show' If I use "hamster-time-tracker toggle" I have no traceback but nothing happens. If the window is hidden, it stays hidden. If it's visible, it stays visible. I'm running the Debian package 2.91.3+git20110714.9aefd7-2 which is a Git snapshot (commit 9aefd7). I suspect the commit 9aefd7 to be the one introducing the problem...
the hotkey is now back in extension i wonder if the cli has also fixed itself. if not, tracking all cli bugs here: https://github.com/projecthamster/hamster/issues/21