Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] "OSError: Can's access the keyring now"
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 27 Aug 2010 09:44:32 +0200
  • Message-id: <201008270944.32699.adrian@xxxxxxx>
On Friday 27 August 2010 09:28:37 Satoru Matsumoto wrote:
(2010/08/27 16:06), Adrian Schröter wrote:
On Friday 27 August 2010 08:57:21 Satoru Matsumoto wrote:
I've installed osc from openSUSE:/Tools and followed the instructions.

But when I executed 'osc checkout home:MY_USERNAME', I got the following
error messages:

Your user account / password are not configured yet.
You will be asked for them below, and they will be stored in
/home/$USER/.oscrc for future use.

Creating osc configuration file /home/$USER/.oscrc ...
Password: ********
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/osc/", line 50, in
return prg.main()
File "/usr/lib/python2.6/site-packages/osc/", line 300, in main
File "/usr/lib/python2.6/site-packages/osc/", line 127,
in postoptparse
conf.write_initial_config(e.file, config)
File "/usr/lib/python2.6/site-packages/osc/", line 523, in
keyring.set_password(host, config['user'], config['pass'])
File "/usr/lib64/python2.6/site-packages/keyring/", line 33, in
return _keyring_backend.set_password(service_name, username, password)
File "/usr/lib64/python2.6/site-packages/keyring/", line 97,
in set_password
return self.keyring_impl.password_set(service, username, password)
OSError: Can's access the keyring now
-> return self.keyring_impl.password_set(service, username, password)

I've already created my HOME repo and built some packages via Web UI,
and I'm using openSUSE 11.3 x86_64.

What is

rpm -q python-keyring-kde python-keyring python-keyring-gnome

saying ?


What desktop do you use ?

I'm usually using KDE. However, ATM, I'm in my office and logged in to
my home machine (on which KDE is running) via ssh and executed osc
command remotely. Do I need to execute osc command locally ?

Ah, so your python-keyring sees that your credentials are in kwallet most
likely but
can't reach kwallet.

I am unsure how to handle this, but for your use case it might make sense to
deinstall -kde and -gnome
packages so it gets stored independend of your desktop.

your may need to drop your ~/.oscrc to re-do the authentification though.


Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >