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>

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?

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

return prg.main()

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

return self.cmd(args)

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

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

Javier Llorente
< Previous Next >
Follow Ups