Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] osc error in version 6302S
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Tue, 17 Feb 2009 17:07:37 +0100
  • Message-id: <200902171707.38748.dl9pf@xxxxxx>
Am Thursday 12 February 2009 14:53:37 schrieb Jan-Simon Möller:
I use osc with a local instance.

2 issues came up in this setup:

1) login data for public obs are requrested also if -A<host> is given (so no
connection / data for build.o.o needed!)
2) oops / traceback ( but after that osc ls runs )

User starts osc for the first time ...

jsmoeller@host:~> osc -Ahttp://<somehostname> ls

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

Creating osc configuration file /home/jsmoeller/.oscrc ...

the apiurl '<somehostname>' does not exist in the config file. Please enter
your credentials for this apiurl.

Username: jsmoeller
Traceback (most recent call last):
File "/usr/bin/osc", line 12, in <module>
r =
File "/usr/lib/python2.5/site-packages/osc/", line 40, in run
return prg.main()
File "/usr/lib/python2.5/site-packages/osc/", line 256, in main
return self.cmd(args)
File "/usr/lib/python2.5/site-packages/osc/", line 279, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.5/site-packages/osc/", line 395, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.5/site-packages/osc/", line 1070, in
return handler(argv[0], opts, *args)
File "/usr/lib/python2.5/site-packages/osc/", line 209, in
print '\n'.join(meta_get_project_list(conf.config['apiurl']))
File "/usr/lib/python2.5/site-packages/osc/", line 1597, in
f = http_GET(u)
File "/usr/lib/python2.5/site-packages/osc/", line 1493, in http_GET
def http_GET(*args, **kwargs): return http_request('GET', *args,
File "/usr/lib/python2.5/site-packages/osc/", line 1442, in
File "/usr/lib/python2.5/site-packages/osc/", line 161, in
return config['api_host_options'][apisrv]
KeyError: 'http://<somehostname>'

(<somehostname> is a real dns name)

Best regards,

Ping - any idea ?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups