Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
[opensuse-buildservice] KeyError: 'apisrv' (osc v0.118)
  • From: Qian Feng <fengqian83@xxxxxxxxx>
  • Date: Tue, 19 May 2009 13:50:55 +0800
  • Message-id: <e915a2a90905182250w6a887f6by9c1f471687e22c34@xxxxxxxxxxxxxx>
Dear list,

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

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
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups