Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] KeyError: 'apisrv' (osc v0.118)
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 19 May 2009 09:35:07 +0200
  • Message-id: <200905190935.07756.adrian@xxxxxxx>
Am Dienstag, 19. Mai 2009 07:50:55 schrieb Qian Feng:
Dear list,

On openSUSE11.1 I updated osc to v0.118 and this error happened during
first run:

0.118 means current svn ?

I can not reproduce this error here atm (with and without existing .oscrc)

linux-jmkv:/home/qfeng/IBS # osc -A https://api.suse.de

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: myname
Password:
Traceback (most recent call last):
File "/usr/bin/osc", line 12, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 38, in
run return prg.main()
File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 281, in main
self.postoptparse()
File "/usr/lib/python2.6/site-packages/osc/commandline.py", line
116, in postoptparse
conf.write_initial_config(e.file, config)
File "/usr/lib/python2.6/site-packages/osc/conf.py", line 280, in
write_initial_config
parse_apisrv_url(None, config['apisrv'])
KeyError: 'apisrv'

I re-installed osc but the error was still there.

Need your help,

Thanks,
Feng Qian

--

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 >
Follow Ups
References