[Bug 543568] New: osc log does not work
http://bugzilla.novell.com/show_bug.cgi?id=543568 Summary: osc log does not work Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: mrueckert@novell.com ReportedBy: prusnak@novell.com QAContact: adrian@novell.com Found By: --- [prusnak@leira 1 ~/work/BuildService/openSUSE:Factory:Contrib/meld] osc results openSUSE_11.1 x86_64 disabled openSUSE_11.1 i586 succeeded standard x86_64 disabled standard i586 succeeded [prusnak@leira 0 ~/work/BuildService/openSUSE:Factory:Contrib/meld] osc log openSUSE_11.1 i586 Server returned an error: HTTP Error 404: Not Found nothing known [prusnak@leira 1 ~/work/BuildService/openSUSE:Factory:Contrib/meld] osc --post-mortem log openSUSE_11.1 i586 Traceback (most recent call last): File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/babysitter.py", line 38, in run return prg.main() File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/cmdln.py", line 308, in main return self.cmd(args) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/commandline.py", line 2771, in do_log print '\n'.join(get_commitlog(apiurl, project, package, rev, format)) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/core.py", line 3498, in get_commitlog f = http_GET(u) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/core.py", line 1861, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/home/prusnak/work/scm/buildservice/src/clientlib/python/osc/osc/core.py", line 1850, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 395, in open response = meth(req, response) File "/usr/lib64/python2.6/urllib2.py", line 508, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.6/urllib2.py", line 433, in error return self._call_chain(*args) File "/usr/lib64/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 516, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found
/usr/lib64/python2.6/urllib2.py(516)http_error_default() -> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) (Pdb) Server returned an error: HTTP Error 404: Not Found nothing known
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543568 User suse-tux@gmx.de added comment http://bugzilla.novell.com/show_bug.cgi?id=543568#c1 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-tux@gmx.de --- Comment #1 from Marcus Hüwe <suse-tux@gmx.de> 2009-10-01 16:02:47 MDT --- (In reply to comment #0)
[prusnak@leira 0 ~/work/BuildService/openSUSE:Factory:Contrib/meld] osc log openSUSE_11.1 i586 Server returned an error: HTTP Error 404: Not Found nothing known
"osc log" is just for commit logs. To view the buildlog use "osc buildlog <repo> <arch>". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543568 User prusnak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543568#c2 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|osc log does not work |osc log prints weird error | |when package does not exist --- Comment #2 from Pavol Rusnak <prusnak@novell.com> 2009-10-02 12:55:54 CEST --- Ah sorry for the noise. But still I suggest to change the error message from "nothing known" to something better like "No log for package foo in project bar found." -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543568 User suse-tux@gmx.de added comment http://bugzilla.novell.com/show_bug.cgi?id=543568#c3 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Marcus Hüwe <suse-tux@gmx.de> 2009-10-02 09:05:43 MDT --- I just committed a fix for it (r8154). marcus@linux:~> osc -A l log doesnot exist Server returned an error: HTTP Error 404: Not Found no such project/package marcus@linux:~> So I think we can close this bug (if not please reopen). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com