Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
[opensuse-buildservice] setlinkrev issue
  • From: Javier Llorente <javier@xxxxxxxxxxxx>
  • Date: Mon, 4 Oct 2010 23:56:08 +0200
  • Message-id: <201010042356.08737.javier@xxxxxxxxxxxx>
Hello,

I am using osc from Unstable, and I keep getting the same message on some
packages when I run osc setlinkrev KDE:Release:45 with cln, for instance.
Any ideas why is this happening?
Thanks,
Javier


setting revision for package cln
Traceback (most recent call last):
File "/usr/bin/osc", line 21, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in run

return prg.main()

File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main

return self.cmd(args)

File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd

retval = self.onecmd(argv)
File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 1941, in
do_setlinkrev
set_link_rev(apiurl, project, p, revision = rev, use_xsrcmd5 =
use_xsrcmd5, use_baserev = use_baserev)
File "/usr/lib/python2.6/site-packages/osc/core.py", line 4971, in
set_link_rev
l = ET.tostring(root)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 1009, in tostring
ElementTree(element).write(file, encoding)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 663, in write
self._write(file, self._root, encoding, {})
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 698, in _write
_escape_attrib(v, encoding)))
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 830, in
_escape_attrib
_raise_serialization_error(text)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 777, in
_raise_serialization_error
"cannot serialize %r (type %s)" % (text, type(text).__name__)
TypeError: cannot serialize None (type NoneType)



--
Javier Llorente
< Previous Next >
Follow Ups