[mod_python] apache aborted when SOAPpy function called

권오일 hoopoh at gmail.com
Wed Nov 23 03:41:04 EST 2005


 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 ?...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20051123/fc17b9c8/attachment.html


More information about the Mod_python mailing list