Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] osc error 'Expected a string or unicode object' on 12.3 factory/beta
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 24 Jan 2013 16:34:28 +0100
  • Message-id: <1955473.rZTSpK8Uts@scherben>
Am Freitag, 25. Januar 2013, 02:10:14 schrieb doiggl@xxxxxxxxxxxxxxxxxx:
Hello,
I get an error using osc,can anyone help?, provided example below
replace userid/password with your own

deinstalling python-keyring packages does help?

Example of error below
Attaching list of rpms installed.

Cheers Glenn

# osc ls

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

Creating osc configuration file /root/.oscrc ...
Username: userid
Password:
ERROR:dbus.proxies:Introspect error on
:1.55:/org/freedesktop/secrets/aliases/default:
dbus.exceptions.DBusException: org.freedesktop.Secret.Error.NoSuchObject:
The '/org/freedesktop/secrets/aliases/default' object does not exist
ERROR:dbus.connection:Unable to set arguments
({'org.freedesktop.Secret.Item.Label': 'userid @ api.opensuse.org',
'org.freedesktop.Secret.Item.Attributes': {'username': 'userid',
'service':
'api.opensuse.org'}},
dbus.Struct((dbus.ObjectPath('/org/freedesktop/secrets/session/s10'), '',
dbus.ByteArray('password'), 'text/plain'), signature=None), True)
according
to signature None: <type 'exceptions.TypeError'>: Expected a string or
unicode object
Traceback (most recent call last):
File "/usr/bin/osc", line 22, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 53, in
run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 302, in main
self.postoptparse()
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 136, in
postoptparse
conf.write_initial_config(e.file, config)
File "/usr/lib/python2.7/site-packages/osc/conf.py", line 659, in
write_initial_config
keyring.set_password(host, config['user'], config['pass'])
File "/usr/lib/python2.7/site-packages/keyring/core.py", line 42, in
set_password
_keyring_backend.set_password(service_name, username, password)
File "/usr/lib/python2.7/site-packages/keyring/backend.py", line 248, in
set_password
True)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in
__call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 641, in
call_blocking
message.append(signature=signature, *args)
TypeError: Expected a string or unicode object
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References