From: Kamruddin Kareem-Q. <Kar...@mo...> - 2004-03-18 21:56:49
|
Shilad, Thanks for the response. The PyErr_Print() prints out the following: SystemError: bad argument to internal function I also realized that I was using Python 1.5 instead of Python 1.5.2. Could that be an issue? When I moved to Python 1.5.2, I got the following error Traceback (innermost last): File "examples/examples.py", line 10, in ? import xmlrpc File "./xmlrpc.py", line 37, in ? import _xmlrpc ImportError: dynamically linked modules not supported Any idea what is it refering to? Thanks Kareem -----Original Message----- From: Shilad Sen [mailto:sh...@so...] Sent: Thursday, March 18, 2004 12:44 AM To: Kamruddin Kareem-QKK002 Cc: py-...@li... Subject: Re: [py-xmlrpc-devel] problem running py-xmlrpc-0.8.8.3 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 |