[XML-SIG] (no subject)

Isokangas, Erik HTC/DE/FRA Erik.Isokangas@hochtief.de
Wed, 8 Jan 2003 14:19:41 +0100


Hi,

A bit of history...
I've been trying to use the pyGoogle module.  It seems to work fine on a
PC/Win2k machine, but pyGoogle could not find a sax reader on my Linux
server.  Both have python 2.1.3 installed.  Reading a newsgroup I learned
about pyXML and decided to install it on the Linux box (hoping to get a
working sax reader).

The install seem to work fine.  However, now when I try to do a google
search I get the following error...

>>> data = google.doGoogleSearch('python')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.1/site-packages/pygoogle/google.py", line
311, in doGoogleSearch
    safeSearch, language, inputencoding, outputencoding)
  File "/usr/local/lib/python2.1/site-packages/pygoogle/SOAP.py", line 3619,
in __r_call
    self.__hd, self.__ma)
  File "/usr/local/lib/python2.1/site-packages/pygoogle/SOAP.py", line 3539,
in __call
    p, attrs = parseSOAPRPC(r, attrs = 1)
  File "/usr/local/lib/python2.1/site-packages/pygoogle/SOAP.py", line 2818,
in parseSOAPRPC
    t = _parseSOAP(xml_str, rules = rules)
  File "/usr/local/lib/python2.1/site-packages/pygoogle/SOAP.py", line 2790,
in _parseSOAP
    parser = xml.sax.make_parser()
  File "xml/sax/sax2exts.py", line 37, in make_parser
    return XMLParserFactory.make_parser(parser_list)
  File "xml/sax/saxexts.py", line 64, in make_parser
    return self._create_parser(parser_name)
  File "xml/sax/saxexts.py", line 43, in _create_parser
    return drv_module.create_parser()
  File "xml/sax/saxexts.py", line 74, in _create_parser
    raise _exceptions.SAXReaderNotAvailable
TypeError: __init__() takes at least 2 arguments (1 given)



Can you suggest what may be the problem here?  

Thanks very much for your help.

Erik Isokangas.