No New Mails Alert

Asked by Andi

Hello,
i have Ubuntu Lucid installed and Gmail Watcher. When a new Mail arrives, the program doesn't tell me anything. I'm behind a router - so maybe some ports are blocked (which one do i have to open?). I entered a false Password to see if it tells me, that connection can't be established, but nothing happens.
Don't know what else to tell you...
Thanks for this Program!

Question information

Language:
English Edit question
Status:
Solved
For:
Gmail Watcher Edit question
Assignee:
No assignee Edit question
Solved by:
Andi
Solved:
Last query:
Last reply:
Revision history for this message
Owais Lone (loneowais) said :
#1

There was a bug in 10.09.38 which prevented periodic updates.

Fixed in 10.09.40

Please confirm.

Revision history for this message
Owais Lone (loneowais) said :
#2

There was a bug in 10.09.38 which prevented periodic updates.

Fixed in 10.09.40

Please confirm.

Revision history for this message
Andi (dittricha) said :
#3

i have version:

$ apt-cache policy gmailwatcher
gmailwatcher:
  Installiert: 10.09.40
  Kandidat: 10.09.40
  Versions-Tabelle:
 *** 10.09.40 0
        500 http://ppa.launchpad.net/loneowais/ppa/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Owais Lone (loneowais) said :
#4

Could you run gmailwatcher from terminal, let it run for a while and tell me what it prints there?

Revision history for this message
Owais Lone (loneowais) said :
#5

I recently switched from urllib2 to httplib2 as urllib2 had a memory leak bug. May be httplib2 does not automatically take your proxy settings into consideration.

I'm soon switching to IMAP. If this is a httplib2 issue, it'll go away then.

Thank You.

Revision history for this message
Owais Lone (loneowais) said :
#6

Please upgrade to the new version and check again.

Revision history for this message
Andi (dittricha) said :
#7

Here my output:

andreas@andreas-laptop:~$ gmailwatcher
** Message: secret service operation failed: Cannot get secret of a locked object
Keyring locked, waiting.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/gmailwatcher/gmail.py", line 64, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1]['display_name'])
KeyError: 'password'

Traceback (most recent call last):
  File "/usr/bin/gmailwatcher", line 263, in <module>
    gtk.main()
KeyboardInterrupt

andreas@andreas-laptop:~$ sudo gmailwatcher
Traceback (most recent call last):
  File "/usr/bin/gmailwatcher", line 28, in <module>
    from gmailwatcher import shared,indicator,template,prompts,gmail,AboutGmailwatcherDialog,PreferencesGmailwatcherDialog
  File "/usr/lib/pymodules/python2.6/gmailwatcher/template.py", line 8, in <module>
    os.mkdir(cache_dir)
OSError: [Errno 2] No such file or directory: '/root/.cache/gmailwatcher'

i'm updating now

Revision history for this message
Andi (dittricha) said :
#8

can't update anymore...

Revision history for this message
Owais Lone (loneowais) said :
#9

Andi: I'm fixing an issue right now. Please hold for a while. I'll push new version by evening.

Revision history for this message
Owais Lone (loneowais) said :
#10

Andi, I just noticed this

OSError: [Errno 2] No such file or directory: '/root/.cache/gmailwatcher'

in the output you've provided. It looks like you are running gmailwatcher as root. Don't do that.
Run it as a normal user.

Revision history for this message
Andi (dittricha) said :
#11

i think its working now. dont know what i did... but thanks for your help!!