[opensuse-buildservice] osc init traceback for osc version 0.99, 0.98 works.
Hello,
gerberb@suse104:~> osc --version
0.99
This is the traceback from running osc init.
gerberb@suse104:~> osc init home:gerberb FAQ-O-Matic
Traceback (most recent call last):
File "/usr/bin/osc", line 10, in <module>
sys.exit( osc.main() )
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 256, in
main
return self.cmd(args)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 279, in cmd
retval = self.onecmd(argv)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 395, in
onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 1070, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib64/python2.5/site-packages/osc/commandline.py", line 74,
in do_init
init_package_dir(conf.config['apiurl'], project, package,
os.path.curdir)
File "/usr/lib64/python2.5/site-packages/osc/core.py", line 1327, in
init_package_dir
f.write(''.join(show_files_meta(apiurl, project, package, revision)))
File "/usr/lib64/python2.5/site-packages/osc/core.py", line 1602, in
show_files_meta
f = http_GET(makeurl(apiurl, ['source', prj, pac], query=query))
File "/usr/lib64/python2.5/site-packages/osc/core.py", line 1277, in
http_GET
def http_GET(*args, **kwargs): return http_request('GET', *args,
**kwargs)
File "/usr/lib64/python2.5/site-packages/osc/core.py", line 1268, in
http_request
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/usr/lib64/python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/usr/lib64/python2.5/urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.5/urllib2.py", line 412, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.5/urllib2.py", line 353, in _call_chain
result = func(*args)
File "/usr/lib64/python2.5/urllib2.py", line 816, in http_error_401
url, req, headers)
File "/usr/lib64/python2.5/urllib2.py", line 794, in
http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File "/usr/lib64/python2.5/urllib2.py", line 804, in
retry_http_basic_auth
return self.parent.open(req)
File "/usr/lib64/python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/usr/lib64/python2.5/urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.5/urllib2.py", line 418, in error
return self._call_chain(*args)
File "/usr/lib64/python2.5/urllib2.py", line 353, in _call_chain
result = func(*args)
File "/usr/lib64/python2.5/urllib2.py", line 499, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
--
Boyd Gerber
On Tue, Apr 01, 2008 at 02:56:42AM -0600, Boyd Lynn Gerber wrote:
Hello,
gerberb@suse104:~> osc --version 0.99
This is the traceback from running osc init.
gerberb@suse104:~> osc init home:gerberb FAQ-O-Matic [...] urllib2.HTTPError: HTTP Error 404: Not Found
I can't reproduce that. Can you? If yes, please use -H with osc, so we get some more debugging output. But the debug output contains your login cookies (and therefore your password), so please don't post it here. Thanks, Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
On Tue, 1 Apr 2008, Dr. Peter Poeml wrote:
On Tue, Apr 01, 2008 at 02:56:42AM -0600, Boyd Lynn Gerber wrote:
gerberb@suse104:~> osc --version 0.99
This is the traceback from running osc init.
gerberb@suse104:~> osc init home:gerberb FAQ-O-Matic [...] urllib2.HTTPError: HTTP Error 404: Not Found
I can't reproduce that. Can you?
If yes, please use -H with osc, so we get some more debugging output.
But the debug output contains your login cookies (and therefore your password), so please don't post it here.
I could do it every time, till I deleted it.
I finally just deleted and recreated the FAQ-O-Matic package, Then the
check out of it worked and I then could do the osc init.
I used the web interface as I could not get any of the osc commands to
work. So this is now working
--
Boyd Gerber
On Tue, Apr 01, 2008 at 03:36:25AM -0600, Boyd Lynn Gerber wrote:
On Tue, 1 Apr 2008, Dr. Peter Poeml wrote:
On Tue, Apr 01, 2008 at 02:56:42AM -0600, Boyd Lynn Gerber wrote:
gerberb@suse104:~> osc --version 0.99
This is the traceback from running osc init.
gerberb@suse104:~> osc init home:gerberb FAQ-O-Matic [...] urllib2.HTTPError: HTTP Error 404: Not Found
I can't reproduce that. Can you?
If yes, please use -H with osc, so we get some more debugging output.
But the debug output contains your login cookies (and therefore your password), so please don't post it here.
I could do it every time, till I deleted it.
I finally just deleted and recreated the FAQ-O-Matic package, Then the check out of it worked and I then could do the osc init.
I used the web interface as I could not get any of the osc commands to work. So this is now working
Good to know (that it is working now) -- thanks. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (2)
-
Boyd Lynn Gerber
-
Dr. Peter Poeml