[Bug 377693] New: [Build Service] osc can't get pattern from server
https://bugzilla.novell.com/show_bug.cgi?id=377693 Summary: [Build Service] osc can't get pattern from server Product: openSUSE 11.0 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@novell.com QAContact: qa@suse.de Found By: --- OSC probably needs a better error message for this: [~] osc meta pattern -e home:hpjansson:glib-hardcore glib2 error getting metadata for type 'pattern' at URL 'https://api.opensuse.org/source/home:hpjansson:glib-hardcore/_pattern/glib2': Traceback (most recent call last): File "/usr/bin/osc", line 10, in <module> sys.exit( osc.main() ) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 304, in do_meta template_args=None) File "/usr/lib/python2.5/site-packages/osc/core.py", line 1742, in edit_meta f=metafile(url, data, change_is_required) File "/usr/lib/python2.5/site-packages/osc/core.py", line 1628, in __init__ f.write(''.join(input)) TypeError -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377693
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c1
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=377693
User hpj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c2
Hans Petter Jansson
https://bugzilla.novell.com/show_bug.cgi?id=377693
Stephan Binner
https://bugzilla.novell.com/show_bug.cgi?id=377693
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c3
--- Comment #3 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=377693
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c4
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=377693
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c5
--- Comment #5 from Michal Marek
But I think we should get rid of these sys.exit() calls in core.py. The module should be usable by other applications (e.g. gosc) and exiting from within the module is not nice to them.
I created bug 379074 for this. -- Configure bugmail: https://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