[syncpackage] crashed with AttributeError in get_password(): 'NoneType' object has no attribute 'keyDoesNotExist'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keyring (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've used syncpackage without --bug or --sponsor as recently as yesterday with no problems, so I doubt this is a local system issue. I do have kwallet set to ask every time if it's OK to give access and it didn't even ask. It was like it doesn't even wait for an answer. In any case, this error should be caught and a more helpful, user friendly error message provided.
$ syncpackage --bug=1027775 --sponsor=logan python-pylibacl
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
Launchpad.
File "/usr/lib/
version=
File "/usr/lib/
credential_
File "/usr/lib/
authorizati
File "/usr/lib/
return self.do_
File "/usr/lib/
'launchpadlib', unique_key)
File "/usr/lib/
return _keyring_
File "/usr/lib/
if wallet.
AttributeError: 'NoneType' object has no attribute 'keyDoesNotExist'
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: ubuntu-dev-tools 0.141
ProcVersionSign
Uname: Linux 3.2.0-26-
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Mon Jul 23 07:45:57 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
LANG=en_US.UTF-8
LANGUAGE=
PythonArgs: ['/usr/
SourcePackage: ubuntu-dev-tools
Title: syncpackage crashed with AttributeError in get_password(): 'NoneType' object has no attribute 'keyDoesNotExist'
UpgradeStatus: Upgraded to precise on 2012-04-09 (104 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare syslog wireshark
tags: | removed: need-duplicate-check |
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- syncpackage crashed with AttributeError in get_password(): 'NoneType' + [syncpackage] crashed with AttributeError in get_password(): 'NoneType' object has no attribute 'keyDoesNotExist' |
This turns out to be at least in part system configuration/user error. Somehow
my kwallet had gotten set to automatically denying these requests. Once I
fixed that, then it works.
This looks like a case that ought to be handled better though.