Hi, I am trying to query google from within a python script using the Google-Api (pygoogle). The following piece of codes gives me a "SOAPpy.Errors.HTTPError: <HTTPError 502 Bad Gateway>", the full Traceback is shown below. I am aware of the incompatibilities between the Google-Api and older versions of the SOAP-Library; I do have installed a recent version of SOAP (v. 0.11.3) which is said to be supported by Google-API.
Can someone help? TIA Dierk Source-Code: ###### import google google.setLicense('xxxxxxxxxxxxxxxxx') ##removed ;-) data = google.doGoogleSearch('python') data.meta.searchTime data.results[0].URL data.results[0].title ######## Full Traceback: ############# Traceback (most recent call last): File "test.py", line 3, in ? data = google.doGoogleSearch('python') File "/windows/g/Download/webcrawler/pygoogle-0.6/google.py", line 421, in doGoogleSearch outputencoding ) File "/usr/lib/python2.4/site-packages/SOAPpy/Client.py", line 421, in __call__ return self.__r_call(*args, **kw) File "/usr/lib/python2.4/site-packages/SOAPpy/Client.py", line 443, in __r_call self.__hd, self.__ma) File "/usr/lib/python2.4/site-packages/SOAPpy/Client.py", line 345, in __call config = self.config) File "/usr/lib/python2.4/site-packages/SOAPpy/Client.py", line 249, in call raise HTTPError(code, msg) SOAPpy.Errors.HTTPError: <HTTPError 502 Bad Gateway> ############# -- http://mail.python.org/mailman/listinfo/python-list