The easiest way I can reproduce this is running KDE4, killing kwalletd,
and attempting to access launchpadlib:

(18967)/kdeui (Wallet): The kwalletd service has been disabled 
(18967)/kdeui (Wallet): The kwalletd service has been disabled 
(18967)/kdeui (Wallet): The kwalletd service has been disabled 
(18967)/kdeui (Wallet): The kwalletd service has been disabled 
(18967)/kdeui (Wallet): The kwalletd service has been disabled 
(18967)/kdeui (Wallet): The kwalletd service has been disabled 
Traceback (most recent call last):
  File "./bin/shadow-db", line 77, in <module>
    app = Application()
  File "./bin/shadow-db", line 42, in __init__
    self.lp = LP(self.logger, self.args)
  File "/usr/lib/python2.7/dist-packages/ShadowDatabase/lp.py", line 50, in 
__init__
    max_failed_attempts=self.retry)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 539, 
in login_with
    credential_save_failed, version)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 342, 
in _authorize_token_and_login
    authorization_engine.unique_consumer_id)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 
305, in load
    return self.do_load(unique_key)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 
359, in do_load
    'launchpadlib', unique_key)
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 37, in 
get_password
    return _keyring_backend.get_password(service_name, username)
  File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 301, in 
get_password
    if wallet.keyDoesNotExist(network, 'Python', key):
AttributeError: 'NoneType' object has no attribute 'keyDoesNotExist'


Note that gnome-keyring is running

~/.kde/share/apps ยป ps -ef |grep keyring
zef       3148     1  0 12:59 ?        00:00:00 /usr/bin/gnome-keyring-daemon 
--start --foreground --components=secrets

But it won't fallback to that either.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027900

Title:
  [syncpackage] crashed with AttributeError in get_password():
  'NoneType' object has no attribute 'keyDoesNotExist'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1027900/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to