So when I try to register my F11 system to my Spacewalk instance, I get the following error in /var/log/up2date:

[Fri Jul 17 15:04:10 2009] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 266, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 157, in main
    rhnreg.sendHardware(systemId, hardwareList)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 645, in sendHardware
    s.registration.add_hw_profile(systemId, hardwareList)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 194, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 319, in _request
    request = self._req_body(params, methodname)
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 222, in _req_body
    return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1132, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.6/xmlrpclib.py", line 677, in dumps
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 759, in dump_array
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 780, in dump_struct
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 691, in __dump
    raise TypeError, "cannot marshal %s objects" % type(value)
<type 'exceptions.TypeError'>: cannot marshal <type 'dbus.String'> objects

I'm using the Spacewalk client RPMs from Fedora 10. Fedora 10 runs python-2.5, and Fedora 11 runs python-2.6.

Is this breakage likely caused by the move to python-2.6? Anyone looked at this? Anyone tried this?

--g

--
Computer Science professors should be teaching open source.
Help make it happen.   Visit http://teachingopensource.org.

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to