Lukas Durfina wrote:
Hi,
I am trying run rhnreg_ks with python2.5.
I have this problem:
[Fri Feb 6 10:08:57 2009] up2date
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 266, in <module>
File "/usr/sbin/rhnreg_ks", line 90, in main
rhnreg.getCaps()
File "rhnreg.py", line 329, in getCaps
File "rhnserver.py", line 50, in __call__
File "rpcServer.py", line 194, in doCall
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "rpcServer.py", line 38, in _request1
File "/var/lib/python-support/python2.5/rhn/rpclib.py", line 319, in
_request
request, verbose=self._verbose)
File "/var/lib/python-support/python2.5/rhn/transports.py", line
187, in reque
st
return self._process_response(fd, connection)
File "/var/lib/python-support/python2.5/rhn/transports.py", line
215, in _proc
ess_response
return self.parse_response(fd)
File "/var/lib/python-support/python2.5/rhn/transports.py", line
225, in parse
_response
p, u = self.getparser()
File "/usr/lib/python2.5/xmlrpclib.py", line 1210, in getparser
return getparser(use_datetime=self._use_datetime)
<type 'exceptions.AttributeError'>: Transport instance has no
attribute '_use_da
tetime'
Should I stay with python2.4 and dont spend time useless or is there
any chance to
fix it with adequate effort? I should note, that if I changed
xmlrpclib.py and used
version from 2.4 it worked ok.
Please use the latest rhnlib version. It should already ahve a fix for this.
~ Prad
Thanks,
Lukas
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel
--
--
Pradeep Kilambi
RHN Satellite Engineering
[email protected]
Phone: +1 919 754 4285
RHCE # 805008680430554
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel