4

Gmail Notifier – v1.7

Posted April 30th, 2010 in Programming by Michael

Initial Lucid release.

http://ahadiel.org/projects/gmail-notifier

If you’re having trouble getting it to run, please try running it from a terminal and paste the output as a comment here.

$ gmail-notifier.py

4 Responses so far.

  1. Tomek C says:
    Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

    Hi. I have Ubuntu 10.04 Lucid Lynx.

    I have a problem with this applet. When I installed it, turned on configuration, configured and finally turned on gmail-notifier, it was working.

    But when I restarted computer and then tried turn on gmail-notifier, program didn’t start. I tried reinstall application and problem is the same. From the beginning it works and after rebot it doesn’t start.

    Logs from command “gmail-notifier-settings.py”
    File “/usr/bin/gmail-notifier-settings.py”, line 78, in loadConfigFile
    File “/usr/bin/gmail-notifier-settings.py”, line 78, in loadConfigFile
    File “/usr/bin/gmail-notifier-settings.py”, line 78, in loadConfigFile
    (and a lot of times the same line and finally)
    self.loadConfigFile()
    File “/usr/bin/gmail-notifier-settings.py”, line 77, in loadConfigFile
    self.resetConfigFile()
    File “/usr/bin/gmail-notifier-settings.py”, line 99, in resetConfigFile
    if(not os.path.isfile(self.CONFIG_FILE)):
    File “/usr/lib/python2.6/genericpath.py”, line 32, in isfile
    return stat.S_ISREG(st.st_mode)
    File “/usr/lib/python2.6/stat.py”, line 50, in S_ISREG
    return S_IFMT(mode) == S_IFREG
    RuntimeError: maximum recursion depth exceeded”

    Logs from command “gmail-notifier.py”
    “** Message: secret service operation failed: Cannot get secret of a locked object
    Traceback (most recent call last):
    File “/usr/bin/gmail-notifier.py”, line 181, in
    PASSWORD = gkey.getPassword()
    File “/usr/bin/gmail-notifier.py”, line 160, in getPassword
    secret = gnomekeyring.item_get_info_sync(self.keyring, auth_token).get_secret()
    gnomekeyring.IOError”

    When I delete the file “/home/USER/.config/gmail-notifier/settings.conf”, then I can turned on gmail-notifier-settings.py and gmail-notifier.py without any problem.

    Why it doesn’t work correctly? How can I repair it?

    Please answer and thank you in advance.

    • Michael says:
      Google Chrome 5.0.375.38 Google Chrome 5.0.375.38 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

      Do you have GDM setup to automatically log on to your user?

  2. Tomek C says:
    Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

    Yes, I have set automatically log on. I think it is something with gnome keyring. I have the same password to default keyring as user password. I also changed password to blank but program still didn’t work.

    If I get into seahorse (gnome keyring) and unlock default keyring, program is working. But this is inconvenient to always firstly unlock keyring and then start program.

    PS. Sorry for my english.

Leave a Reply