You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Vijay Murthi <vi...@omega.uta.edu> on 2003/04/11 18:21:07 UTC

Does Xindice gives a null response?

Hi,

I wrote a small python client to interface xindice-1.1b using Xmlrpc.

My friend was playing around with it for a while.

During higher stress tests he gets the message below a few times.

This generated is generated by python because
"Python received an XML-RPC response that was empty i.e.
didn't contain any XML element." 

So does Xindice Server gives a null response sometimes?

Thanks,
Vijay




"  doc = self.bookkeeper.QueryDocument('/db/jobs',self.gid,query)
 File "xmldb.py", line 163, in QueryDocument
 File "xmldb.py", line 132, in Query
 File "xmlrpclib.py", line 986, in __call__
 File "xmlrpclib.py", line 1239, in __request
 File "xmlrpclib.py", line 1037, in request
 File "xmlrpclib.py", line 1136, in _parse_response
 File 
"/homes/walker/fnal/ups/prd/python/v2_1/Linux-2-4/lib/python2.1/xmllib.py", 
line 172, in close
   self.goahead(1)
 File 
"/homes/walker/fnal/ups/prd/python/v2_1/Linux-2-4/lib/python2.1/xmllib.py", 
line 415, in goahead
   self.syntax_error('no elements in file')
 File 
"/homes/walker/fnal/ups/prd/python/v2_1/Linux-2-4/lib/python2.1/xmllib.py", 
line 794, in syntax_err
or
   raise Error('Syntax error at line %d: %s' % (self.lineno, message))
xmllib.Error: Syntax error at line 1: no elements in file "