From: Shilad S. <sh...@so...> - 2004-03-18 06:44:21
|
Hi Kareem, It's possible that PyMethod_New isn't implemented the same way in older versions of Python. Can you add a call to "PyErr_Print();" after the PyMethod_New() to see what the error message is? Thanks, Shilad On Wed, Mar 17, 2004 at 05:44:24PM -0600, Kamruddin Kareem-QKK002 wrote: > Hi folks, > > I downloaded the source package for py-xmlrpc-0.8.8.3 and compiled it on > the SunOS platform with python 1.52. When I tried to run the examples.py > module, I got the following error > > "rpcFaultStr is NULL in xmlrpcInit" > > A quick debug effort points the source to the following code in > rpcFaultClass(void) function in rpcFault.c > > meth = PyMethod_New(func, NULL, klass); > if (meth == NULL) > return (NULL); > > Can anyone please suggest what could be wrong? I am just getting familiar > with the Python/C APIs. Any help will be greatly appreciated. > > Thanks > Kareem |