Keyring locked

Bug #661319 reported by Greg A

This bug report was converted into a question: question #129635: Keyring locked.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gmail Watcher
Invalid
Undecided
Unassigned

Bug Description

I'm using the PPA, version 10.10.4 is installed.

Whenever I startup Gmailwatcher it "doesn't work". I believe this is because my keyring is not unlocked, as I have autologin enabled.

Starting from a terminal gives me the following (Appears similar to #611963):

** 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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

Exception in thread Thread-2:
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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

Exception in thread Thread-3:
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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

Exception in thread Thread-4:
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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

^AException in thread Thread-5:
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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

Exception in thread Thread-6:
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 59, in check
    user,passwd,folders,display_name = (account[0],account[1]['password'],account[1]['folders'],account[1].get('display_name',account[0]))
KeyError: 'password'

Revision history for this message
Owais Lone (loneowais) wrote :

You can tell gmailwatcher to Not use keyring. You're password will not be stored in plain text.

Revision history for this message
Owais Lone (loneowais) wrote :

Might help others.

Changed in gmailwatcher:
status: New → Invalid
Revision history for this message
Greg A (etulfetulf) wrote :

Having changed gmailwatcher not to use the keyring the program crashes on startup:

** Message: secret service operation failed: Cannot get secret of a locked object
Traceback (most recent call last):
  File "/usr/bin/gmailwatcher", line 266, in <module>
    window.check()
  File "/usr/bin/gmailwatcher", line 216, in check
    shared.watcher = gmail.Watcher()
  File "/usr/lib/pymodules/python2.6/gmailwatcher/gmail.py", line 47, in __init__
    notify(_('Password Error'),_('Could not retrive password for %')%A,'error')
ValueError: incomplete format

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.