authorization fails with the kwallet backend

Bug #838108 reported by Felix Geyer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-launchpadlib (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Authorization in launchpadlib always fails when using the kwallet backend from python-keyring.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: ubuntu-dev-tools 0.127
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Wed Aug 31 15:38:28 2011
ExecutablePath: /usr/bin/lp-shell
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/lp-shell
ProcCwd: /home/felix/Documents4/packages/virtualbox/git
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_TIME=de_DE.UTF-8
 SHELL=/bin/zsh
PythonArgs: ['/usr/bin/lp-shell']
SourcePackage: ubuntu-dev-tools
Title: lp-shell crashed with [line 7] in _read()
UpgradeStatus: Upgraded to oneiric on 2011-08-15 (15 days ago)
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Revision history for this message
Felix Geyer (debfx) wrote :
Revision history for this message
Felix Geyer (debfx) wrote :

This workaround (?) in /usr/share/pyshared/launchpadlib/credentials.py fixed the problem for me:

        credential_string = keyring.get_password(
            'launchpadlib', unique_key)
-->
        credential_string = str(keyring.get_password(
            'launchpadlib', unique_key))

visibility: private → public
Changed in python-launchpadlib (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Stefano Rivera (stefanor) wrote :

Is this still an issue with launchpadlib 1.9.12?

Changed in python-launchpadlib (Ubuntu):
importance: Undecided → Medium
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.