Robert Sanderson
azaroth at liverpool.ac.uk
Wed Nov 23 04:50:45 EST 2005
Try installing expat-1.95.8 somewhere apache will see it. And try switching python up to 2.4.2 (I have this problem using ZSI) Rob On Wed, 23 Nov 2005, [EUC-KR] ±Ç¿ÀÀÏ wrote: > installed apache and mod_python . >and test SOAPpy but WSDL.Proxy() made apache aborted. > >OS : linux red hat AS4. >apache version: 2.0.55 >python version : 2.3.4 >SOAPpy version : 0.11.6 > >apache setting >setHandler python-program >AddHandler mod_python .py >PythonHandler mod_python.publisher > > >=====================search.py ======= >from SOAPpy import WSDL >import SOAPpy > >WSDLFILE =' http://pub.paran.com/mercurie/GoogleSearch.wsdl' >APIKEY= 'mfk8FmpQFHKPXhHG/6oHamYZNGO8doAD' > >_server =WSDL.Proxy(WSDLFILE,config=SOAPpy.SOAPConfig(debug=1)) > >def search(r,q='test'): >""" Search Google and return list of (title, link, description)""" >results = _server.doGoogleSearch( >APIKEY,q,0,10,False, "",False,"", "utf-8", "utf-8") >return 'ok' > >========================================= > >i called http://testsvr. root/search/search?q=someword. > >but apache aborted , loggig like this > >httpd: Objects/stringobject.c:110: PyString_FromString: Assertion `str != >((void *)0)' failed. >[Thu Nov 10 16:08:46 2005] [notice] child pid 26359 exit signal Aborted (6) > > >How can I solve it ?... >
|