[Bug 479156] New: osc: osc linkpac fails / backtrace
https://bugzilla.novell.com/show_bug.cgi?id=479156 Summary: osc: osc linkpac fails / backtrace Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dl9pf@gmx.de QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 losc linkpac foo:bar spam eggs Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.5/site-packages/osc/babysitter.py", line 40, in run return prg.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 731, in do_linkpac link_pac(src_project, src_package, dst_project, dst_package, rev) File "/usr/lib/python2.5/site-packages/osc/core.py", line 2405, in link_pac src_meta = replace_pkg_meta(src_meta, dst_package, dst_project) File "/usr/lib/python2.5/site-packages/osc/core.py", line 2395, in replace_pkg_meta return ET.tostring(root) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 1009, in tostring ElementTree(element).write(file, encoding) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 663, in write self._write(file, self._root, encoding, {}) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 707, in _write self._write(file, n, encoding, namespaces) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 698, in _write _escape_attrib(v, encoding))) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 830, in _escape_attrib _raise_serialization_error(text) File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 777, in _raise_serialization_error "cannot serialize %r (type %s)" % (text, type(text).__name__) TypeError: cannot serialize {'http_headers': [], 'user': 'someuser', 'pass': 'testtest'} (type dict) Reproducible: Always Steps to Reproduce: 1. osc HEAD revision 6551 2. losc linkpac foo:bar spam eggs 3. (local api server!) Actual Results: backtrace Expected Results: link package properly -- 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=479156 User dl9pf@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=479156#c1 Jan-Simon Möller <dl9pf@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dl9pf@gmx.de --- Comment #1 from Jan-Simon Möller <dl9pf@gmx.de> 2009-02-24 11:28:45 MST --- losc = hardcoded "-Ahttp://myapi/" #!/bin/bash osc -Ahttp://myapi/ "$@" -- 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=479156 User suse-tux@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=479156#c2 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |suse-tux@gmx.de Resolution| |FIXED --- Comment #2 from Marcus Hüwe <suse-tux@gmx.de> 2009-02-24 13:19:03 MST --- Fixed in r6565. So I think we can close this bug (if not please reopen). -- 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