Package: python-rhn Version: 2.5.52-1 Severity: normal Title says all. Patch attached.
root@xxxx:~# rhnreg_ks --serverUrl=https://spacewalk.xxxxxx.org/XMLRPC --activationkey=1-6eeaef0e9e7b42e048d09fbdce7add50 An error has occurred: <type 'exceptions.TypeError'> See /var/log/up2date for more information root@xxxx:~# cat /var/log/up2date [...] <type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled -- System Information: Debian Release: 7.2 Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-042stab061.2 (SMP w/16 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages python-rhn depends on: ii python 2.7.3-4+deb7u1 ii python-openssl 0.13-2+deb7u1 ii python2.6 2.6.8-1.1 ii python2.7 2.7.3-6 python-rhn recommends no packages. python-rhn suggests no packages. -- no debconf information
--- /usr/lib/python2.7/dist-packages/rhn/rpclib.py 2013-10-31 09:31:16.317846287 +0000 +++ rpclib.py 2013-10-31 09:31:04.335978079 +0000 @@ -229,7 +229,7 @@ self._transport.set_progress_callback(progressCallback, bufferSize) def _req_body(self, params, methodname): - return xmlrpclib.dumps(params, methodname, encoding=self._encoding) + return xmlrpclib.dumps(params, methodname, encoding=self._encoding, allow_none=True) def get_response_headers(self): if self._transport: