$ rpm -q osc osc-0.144.1-127.1.noarch $ osc -H ls -- GET https://api.opensuse.org/source send: 'GET https://api.opensuse.org/source HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: api.opensuse.org\r\nConnection: close\r\nUser-agent: osc/0.144\r\n\r\n' reply: 'HTTP/1.1 401 Authorization Required\r\n' header: Date: Thu, 06 Mar 2014 18:29:07 GMT header: Server: Apache/2.2.12 (Linux/SUSE) header: WWW-Authenticate: Basic realm="Use your novell account" header: Vary: accept-language,accept-charset header: Accept-Ranges: bytes header: Connection: close header: Transfer-Encoding: chunked header: Content-Type: text/html; charset=iso-8859-1 header: Content-Language: en send: 'GET https://api.opensuse.org/source HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: api.opensuse.org\r\nConnection: close\r\nUser-agent: osc/0.144\r\n\r\n' reply: 'HTTP/1.1 401 Authorization Required\r\n' header: Date: Thu, 06 Mar 2014 18:29:07 GMT header: Server: Apache/2.2.12 (Linux/SUSE) header: WWW-Authenticate: Basic realm="Use your novell account" header: Vary: accept-language,accept-charset header: Accept-Ranges: bytes header: Connection: close header: Transfer-Encoding: chunked header: Content-Type: text/html; charset=iso-8859-1 header: Content-Language: en Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 60, in run return prg.main(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 484, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 393, in do_list for prj in meta_get_project_list(apiurl, opts.deleted): File "/usr/lib/python2.7/site-packages/osc/core.py", line 3131, in meta_get_project_list f = http_GET(u) File "/usr/lib/python2.7/site-packages/osc/core.py", line 3042, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/usr/lib/python2.7/site-packages/osc/core.py", line 3031, in http_request fd = urlopen(req, data=data) File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 897, in http_error_401 url, req, headers) File "/usr/lib64/python2.7/urllib2.py", line 872, in http_error_auth_reqed response = self.retry_http_basic_auth(host, req, realm) File "/usr/lib64/python2.7/urllib2.py", line 885, in retry_http_basic_auth return self.parent.open(req, timeout=req.timeout) File "/usr/lib64/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 897, in http_error_401 url, req, headers) File "/usr/lib64/python2.7/urllib2.py", line 872, in http_error_auth_reqed response = self.retry_http_basic_auth(host, req, realm) File "/usr/lib64/python2.7/urllib2.py", line 885, in retry_http_basic_auth return self.parent.open(req, timeout=req.timeout) File "/usr/lib64/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 422, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 1214, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.7/urllib2.py", line 1181, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib64/python2.7/httplib.py", line 973, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request self.endheaders(body) File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output self.send(msg) File "/usr/lib/python2.7/site-packages/osc/conf.py", line 538, in new_method sys.stdout = self._orig_stdout AttributeError: HTTPConnection instance has no attribute '_orig_stdout' Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org