python-keyring-kwallet generates IOError

Bug #657070 reported by Benji York
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keyring (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-keyring

On a fresh Kubuntu 10.04 install after installing python-keyring-kwallet
version 0.2-3 I ran this Python code:

    keyring.set_password('x', 'y', 'z')

which generated this exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/keyring/core.py", line 33, in set_password
    return _keyring_backend.set_password(service_name, username, password)
  File "/usr/lib/pymodules/python2.6/keyring/backend.py", line 97, in set_password
    return self.keyring_impl.password_set(service, username, password)
OSError: can't get access to dbus

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-keyring-kwallet 0.2-3
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Fri Oct 8 16:35:34 2010
InstallationMedia: Kubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-keyring

Revision history for this message
Benji York (benji) wrote :
Revision history for this message
James Westby (james-w) wrote :

Does the gnome backend work? It appears to have pretty much the same code that causes
this issue (assuming that it is in fact using the KDE backend here).

Thanks,

James

Revision history for this message
Benji York (benji) wrote : Re: [Bug 657070] Re: python-keyring-kwallet generates IOError

On Thu, Oct 14, 2010 at 11:36 AM, James Westby
<email address hidden> wrote:
> Does the gnome backend work? It appears to have pretty much the same code that causes
> this issue (assuming that it is in fact using the KDE backend here).

The gnome backend works on my machine.
--
Benji York

Revision history for this message
James Westby (james-w) wrote :

Do you still have the environment around to test with? Is there a dbus session
bus running when you get that failure?

Thanks,

James

Revision history for this message
Benji York (benji) wrote :

On Thu, Oct 14, 2010 at 8:07 PM, James Westby <email address hidden> wrote:
> Do you still have the environment around to test with?

Yep.

> Is there a dbus session bus running when you get that failure?

It would seem so:

benji@kubuntu:~$ ps aux | grep dbus | cut -c66-
dbus-daemon --system --fork
dbus-launch --autolaunch 5375d1ed127ac5597be0225d4caf691b
--binary-syntax --close-stderr
/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
/usr/bin/dbus-launch --exit-with-session x-session-manager
/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
grep --color=auto dbus
--
Benji York

Revision history for this message
Benji York (benji) wrote :

This bug has been indirectly fixed in keyring 0.5.0 by removing the custom KWallet integration and using the Python interface instead.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

marking fixed per Benji's comment

Changed in python-keyring (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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