Hello all,
I'm trying to change the memory limits using the python implementation of the xenapi and I'm having trouble because the value in the api is a 64bit int and the xml-rpc specifies ints as 32 bit. So I'm getting this error (both in MacOSX and CentOS):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 710, in dump_int raise OverflowError, "int exceeds XML-RPC limits" OverflowError: int exceeds XML-RPC limits
And this is the code in xmlrpclib.py:
def dump_int(self, value, write): # in case ints are > 32 bits if value > MAXINT or value < MININT: raise OverflowError, "int exceeds XML-RPC limits"
Is there any workaround for this? I would like to avoid both doing a ssh connection to the host or modifying xmlrpclib.py.
Thanks!
======================================== Koldo Aingeru Marcos Fdez. Sarenet S.A. Tel: 944209470 - Fax: 944209465 Parque Tecnológico, Edificio 103 48170 Zamudio Bizkaia ========================================
|