Control: tags -1 -moreinfo -unreproducible
Hi,
This issue today happened to me too. I worked around it by calling
rhnreg_ks with the command line flags --nohardware --norhnsd
--novirtinfo --nopackages. Then removing --nopackages would trigger the
error again.
Someone on the internet posted about registering Ubuntu and Debian
servers with Spacewalk:
http://www.devops-blog.net/spacewalk/registering-ubuntu-and-debian-servers-with-spacewalk
In that blob post a bugfix is mentioned to address an exception similar
to the one reported here:
File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is
enabled"
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none
is enabled
The mentioned patch looks like this:
--- /usr/lib/python2.7/xmlrpclib.py 2013-05-28 20:44:38.000000000 +0200
+++ new/xmlrpclib.py 2013-05-28 20:44:24.000000000 +0200
@@ -654,8 +654,8 @@
f(self, value, write)
def dump_nil (self, value, write):
- if not self.allow_none:
- raise TypeError, "cannot marshal None unless allow_none is enabled"
+# if not self.allow_none:
+# raise TypeError, "cannot marshal None unless allow_none is enabled"
write("<value><nil/></value>")
dispatch[NoneType] = dump_nil
Maybe this bug needs to get reassigned to the python2.7 package. The
python2.7 package version installed on my system was: 2.7.3-6+deb7u2.
Best regards,
Micha
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]