miracle2k / sendtokindle

Grahical Send to Kindle Utility for Ubuntu
http://elsdoerfer.com/sendtokindle
GNU Affero General Public License v3.0
46 stars 7 forks source link

Will not run after installing on Ubuntu 13.04 #1

Open ghost opened 11 years ago

ghost commented 11 years ago

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

henryk commented 10 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.

kieppie commented 10 years ago

Same issue here - running 14.04 with Gnome Shell Above 'hack' works - but app does pretty-much the same a simply emailing it

danhunsaker commented 8 years ago

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 )

miracle2k commented 8 years ago

I pushed a new release. Am I understanding correctly that the ticket can be closed now?

danhunsaker commented 8 years ago

Indeed, yes. :-)