Open ghost opened 11 years ago
There seems to be a versioning thing going on. Installing gir1.2-appindicator-0.1 makes this line work but then gives a different exception later on (»Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded«). If I'm interpreting http://askubuntu.com/questions/108035/writing-indicators-with-python-gir-and-gtk3 right, it is sufficient to replace "AppIndicator" with "AppIndicator3 as AppIndicator" in the import line. This seems to make the tool work for me.
Same issue here - running 14.04 with Gnome Shell Above 'hack' works - but app does pretty-much the same a simply emailing it
pip is installing an outdated version of the tool - the latest version here (from early 2012!) properly handles AppIndicator versus AppIndicator3. The above hack allows the pip-installed version to run up through at least 15.10 (my current system), but pip isn't aware of the latest version because it hasn't been given a tag... ( ping @miracle2k )
I pushed a new release. Am I understanding correctly that the ticket can be closed now?
Indeed, yes. :-)
Hi there - getting this when trying to run on 13.04:
ERROR:root:Could not find any typelib for AppIndicator Traceback (most recent call last): File "/usr/local/bin/sendtokindle", line 25, in
from gi.repository import Gtk, Gdk, Gio, GObject, AppIndicator, Notify
ImportError: cannot import name AppIndicator