Closed Gen2ly closed 12 years ago
Yes, this program requires python 2 and will not yet work with python 3. I will port it to python 3 when the IMAPClient library I use here is ported to python 3 and according to http://imapclient.freshfoo.com/ that is in progress. In the meantime, I will now change the shebang line to explicitly specify python2 as I find that link also exists in Ubuntu so I can use it.
The reason I titled this program in the README as "Gmail-indicator for Ubuntu" is because it relies on the Ubuntu specific appindicator module (for gnome shell), or indicate module (for Unity, classic, etc). As far as I know these modules are only available on Ubuntu, not more generally in the debian packages so I doubt you will be able to use them or this program. Yes, this is annoying and a mess but hopefully Gnome and Ubuntu will eventually resolve their currrently acrimonious issues and then developers will get a single compatible API to code apps for.
Hey, great answer. I too would like to see a standardized notification system can be created. Yeah, the libappindicator is Ubuntu-specific; luckily, there is a package in the AUR repository for it and because of it I'm able to run it successfully! Good detail, appreciate it.
First, I appreciate you work on this. I've been looking for a good gmail indicator for GNOME 3 and this looks to be what I need. I try to run
~/bin/./gmail-indicator
and am getting this error:I've installed python2-imapclient which resolved to here so I'm pretty sure that's correct but I think my problem may have to do with unresolved dependencies. Could you help me out?
Edit:
Ok, I figured the first issue out: Arch Linux uses python 3 so changing the interpreter (
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' gmail-indicator
) fixes the first problem.Now when I try to run the script I'm getting: