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.
http://en.opensuse.org/openSUSE:Build_Service_Tutorial#Step_One_-_Login_and_one_time_Local_Project_setup

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 ...
Username: MY_USERNAME
Password: ********
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in
run
return prg.main()
File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 300, in main
self.postoptparse()
File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 127,
in postoptparse
conf.write_initial_config(e.file, config)
File "/usr/lib/python2.6/site-packages/osc/conf.py", line 523, in
write_initial_config
keyring.set_password(host, config['user'], config['pass'])
File "/usr/lib64/python2.6/site-packages/keyring/core.py", line 33, in
set_password
return _keyring_backend.set_password(service_name, username, password)
File "/usr/lib64/python2.6/site-packages/keyring/backend.py", line 97,
in set_password
return self.keyring_impl.password_set(service, username, password)
OSError: Can's access the keyring now
/usr/lib64/python2.6/site-packages/keyring/backend.py(97)set_password()
-> return self.keyring_impl.password_set(service, username, password)
(Pdb)
======================================================================

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 ?

python-keyring-kde-0.2-4.3.x86_64
python-keyring-0.2-4.3.x86_64
python-keyring-gnome-0.2-4.3.x86_64

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.

bye
adrian

--
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 >