Package: python-keyring Version: 0.5.1-1 Severity: normal Hello,
tl;dr: scripts which relied in the Gnome keyring might now fail if the python-gnomekeyring module is not installed. Long story: I have a piece of code which was dependent on python-keyring and python-keyring-gnome and all was smooth: the default keyring was the Gnome one and I didn't have to do anything. Since the update to 0.5.1, I removed the obsolete package python-keyring-gnome and then, my script started to fail because it couldn't find the password I had in my keyring. The problem occurs to be that the default keyring switched to `keyring.backend.CryptedFileKeyring`, as revealed by `keyring.get_keyring()`. I first thought that I now had to configure manually the keyring system so that it will use the Gnome one, but once I configured the ~/keyringrc.cfg file, I got this error: >>> import keyring >>> keyring.get_keyring() <keyring.backend.GnomeKeyring object at 0xb7233dec> >>> keyring.get_password('foo', 'bar') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/keyring/core.py", line 30, in get_password return _keyring_backend.get_password(service_name, username) File "/usr/lib/python2.6/dist-packages/keyring/backend.py", line 140, in get_password except gnomekeyring.NoMatchError: NameError: global name 'gnomekeyring' is not defined I thought that there was a bug in python-keyring, but it occurs that I was just missing the python-gnomekeyring module, on which python-keyring now relies on. I think the same problem happens for users which were using the KDE keyring, though I'm not using it so I can't really say. May I suggest you to add a 'Suggest: python-gnomekeyring' or something like that to the python-keyring package? I'm not really sure how to handle the upgrade process from the previous version to this one, maybe you could figure a better plan, but I think this could be the minimum to do. Thanks, Jonathan -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-keyring depends on: ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii python2.6 2.6.6-8+b1 An interactive high-level object-o Versions of packages python-keyring recommends: ii python-crypto 2.1.0-2 cryptographic algorithms and proto python-keyring suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org