[Bug 1433795] Re: bzr crashed with InitError in get_default_collection(): Failed to unlock the collection!
Vincent Ladeuil
1433795 at bugs.launchpad.net
Thu Jan 5 12:01:28 UTC 2017
ssh support works, most remote uses rely on it.
I'm not sure I'm reading the traceback correctly but I would guess the
issue is that you're providing the key password when your ring password
is expected (which would give access to the key).
So, not really a bzr issue even if the error message could be clearer.
** Description changed:
I was trying to use bzr lp-prorpose from a terminal emulator in lxde and
then the popup saying for entering the password to my ssh key poped up
and claimed my password was wong when I beive I typed the correct
password in but am not sure of a typo. I tried several times and then
this failed and brought up that bzr had crashed in apport.
- Description: Ubuntu Vivid Vervet (development branch)
+ Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
bzr:
- Installed: 2.6.0+bzr6595-6ubuntu1bzr:
- Installed: 2.6.0+bzr6595-6ubuntu1
- Candidate: 2.6.0+bzr6595-6ubuntu1
- Version table:
- *** 2.6.0+bzr6595-6ubuntu1 0
- 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
- 100 /var/lib/dpkg/status
+ Installed: 2.6.0+bzr6595-6ubuntu1bzr:
+ Installed: 2.6.0+bzr6595-6ubuntu1
+ Candidate: 2.6.0+bzr6595-6ubuntu1
+ Version table:
+ *** 2.6.0+bzr6595-6ubuntu1 0
+ 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+ 100 /var/lib/dpkg/status
- Candidate: 2.6.0+bzr6595-6ubuntu1
- Version table:
- *** 2.6.0+bzr6595-6ubuntu1 0
- 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
- 100 /var/lib/dpkg/status
- I expected bzr to allow me acess to launchpad through my ssh key
+ Candidate: 2.6.0+bzr6595-6ubuntu1
+ Version table:
+ *** 2.6.0+bzr6595-6ubuntu1 0
+ 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+ 100 /var/lib/dpkg/status
+ I expected bzr to allow me acess to launchpad through my ssh key
Instead bzr crahsed.
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: bzr 2.6.0+bzr6595-6ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu3
Architecture: amd64
BzrDebugFlags: set([])
BzrVersion: 2.7.0dev1
CommandLine: ['/usr/bin/bzr', 'lp-propose']
CrashDb: bzr
CurrentDesktop: LXDE
Date: Wed Mar 18 14:17:54 2015
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationDate: Installed on 2014-09-30 (168 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140930)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-3.19.0-9-generic-x86_64-with-Ubuntu-15.04-vivid
ProcCmdline: /usr/bin/python /usr/bin/bzr lp-propose
PythonVersion: 2.7.9
SourcePackage: bzr
Title: bzr crashed with InitError in get_default_collection(): Failed to unlock the collection!
UpgradeStatus: Upgraded to vivid on 2014-12-12 (95 days ago)
UserEncoding: utf-8
UserGroups: libvirtd sudo
+
+ 0.039 looking for plugins in /home/seeolah/.bazaar/plugins
+ 0.039 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
+ 0.047 encoding stdout as sys.stdout encoding 'UTF-8'
+ 0.062 opening working tree '/home/seeolah/practice/gpicview'
+ 27.214 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
+ 27.230 Traceback (most recent call last):
+ File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
+ return the_callable(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
+ ret = run(*run_argv)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
+ return self.run(**all_cmd_args)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
+ return self._operation.run_simple(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
+ self.cleanups, self.func, *args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
+ result = func(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/cmds.py", line 328, in run
+ fixes=fixes)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_propose.py", line 76, in __init__
+ self.launchpad = lp_api.login(service)
+ File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api.py", line 124, in login
+ proxy_info=proxy_info, version=version)
+ File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 544, in login_with
+ credential_save_failed, version)
+ File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 347, in _authorize_token_and_login
+ authorization_engine.unique_consumer_id)
+ File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 334, in load
+ return self.do_load(unique_key)
+ File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 388, in do_load
+ 'launchpadlib', unique_key)
+ File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 38, in get_password
+ return _keyring_backend.get_password(service_name, username)
+ File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 53, in get_password
+ collection = self.get_default_collection()
+ File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 47, in get_default_collection
+ raise InitError("Failed to unlock the collection!")
+ InitError: Failed to unlock the collection!
** Changed in: bzr (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1433795
Title:
bzr crashed with InitError in get_default_collection(): Failed to
unlock the collection!
Status in bzr package in Ubuntu:
Incomplete
Bug description:
I was trying to use bzr lp-prorpose from a terminal emulator in lxde
and then the popup saying for entering the password to my ssh key
poped up and claimed my password was wong when I beive I typed the
correct password in but am not sure of a typo. I tried several times
and then this failed and brought up that bzr had crashed in apport.
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
bzr:
Installed: 2.6.0+bzr6595-6ubuntu1bzr:
Installed: 2.6.0+bzr6595-6ubuntu1
Candidate: 2.6.0+bzr6595-6ubuntu1
Version table:
*** 2.6.0+bzr6595-6ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
Candidate: 2.6.0+bzr6595-6ubuntu1
Version table:
*** 2.6.0+bzr6595-6ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
I expected bzr to allow me acess to launchpad through my ssh key
Instead bzr crahsed.
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: bzr 2.6.0+bzr6595-6ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu3
Architecture: amd64
BzrDebugFlags: set([])
BzrVersion: 2.7.0dev1
CommandLine: ['/usr/bin/bzr', 'lp-propose']
CrashDb: bzr
CurrentDesktop: LXDE
Date: Wed Mar 18 14:17:54 2015
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationDate: Installed on 2014-09-30 (168 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140930)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-3.19.0-9-generic-x86_64-with-Ubuntu-15.04-vivid
ProcCmdline: /usr/bin/python /usr/bin/bzr lp-propose
PythonVersion: 2.7.9
SourcePackage: bzr
Title: bzr crashed with InitError in get_default_collection(): Failed to unlock the collection!
UpgradeStatus: Upgraded to vivid on 2014-12-12 (95 days ago)
UserEncoding: utf-8
UserGroups: libvirtd sudo
0.039 looking for plugins in /home/seeolah/.bazaar/plugins
0.039 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
0.047 encoding stdout as sys.stdout encoding 'UTF-8'
0.062 opening working tree '/home/seeolah/practice/gpicview'
27.214 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
27.230 Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/cmds.py", line 328, in run
fixes=fixes)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_propose.py", line 76, in __init__
self.launchpad = lp_api.login(service)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api.py", line 124, in login
proxy_info=proxy_info, version=version)
File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 544, in login_with
credential_save_failed, version)
File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 347, in _authorize_token_and_login
authorization_engine.unique_consumer_id)
File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 334, in load
return self.do_load(unique_key)
File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 388, in do_load
'launchpadlib', unique_key)
File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 38, in get_password
return _keyring_backend.get_password(service_name, username)
File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 53, in get_password
collection = self.get_default_collection()
File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 47, in get_default_collection
raise InitError("Failed to unlock the collection!")
InitError: Failed to unlock the collection!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1433795/+subscriptions
More information about the foundations-bugs
mailing list