URL is http://api.search.yahoo.com/WebSearchService/V1/webSearch?query=voidspace+python+programming&results=50&appid=voidspace --> -->
 
 
SearchError
Python 2.4.6: /usr/local/bin/python2.4
Fri Apr 25 05:00:15 2014

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/search.py
  222     config = ConfigObj(cfg_file)
  223     #
  224     main(config)
  225 
  226 """
main = <function main>, config = {'app_id': 'voidspace', 'DEBUG': 'False', 'path'...'term1': 'python', 'term2': 'python programming'}
 /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/search.py in main(config={'app_id': 'voidspace', 'DEBUG': 'False', 'path'...'term1': 'python', 'term2': 'python programming'})
   84     if not isblank(req):
   85         c = time.time()
   86         body, num = search(req['query'], start, config)
   87         body =  result_line % body
   88         count_file = join(path, counter) 
body = '', num undefined, global search = <function search>, req = {'query': 'voidspace', 'start': ''}, start = 0, config = {'app_id': 'voidspace', 'DEBUG': 'False', 'path'...'term1': 'python', 'term2': 'python programming'}
 /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/search.py in search(query='voidspace', start=0, config={'app_id': 'voidspace', 'DEBUG': 'False', 'path'...'term1': 'python', 'term2': 'python programming'})
  131     else:
  132         srch.query = query
  133     results.update(do_query(srch, pos, domain_hash, allowed))
  134     #
  135     if term1:
results = OrderedDict([]), results.update = <bound method OrderedDict.update of OrderedDict([])>, global do_query = <function do_query>, srch = <yahoo.search.web.WebSearch object>, pos = 1, domain_hash = {'0x50.org': 3, '37signals.com': 58, '3dartist.com': 3887, '3dtree.com': 2, '42.blogs.warnock.me.uk': 1354, '4suite.org': 358, '96db.com': 279, 'aaronsw.com': 4535, 'abo.fi': 6, 'acooke.org': 347, ...}, allowed = ''
 /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/search.py in do_query(srch=<yahoo.search.web.WebSearch object>, pos=1, domain_hash={'0x50.org': 3, '37signals.com': 58, '3dartist.com': 3887, '3dtree.com': 2, '42.blogs.warnock.me.uk': 1354, '4suite.org': 358, '96db.com': 279, 'aaronsw.com': 4535, 'abo.fi': 6, 'acooke.org': 347, ...}, allowed='')
  163     srch.start = pos
  164     try:
  165         results = srch.parse_results()
  166     except ServerError:
  167         time.sleep(SLEEP)
results undefined, srch = <yahoo.search.web.WebSearch object>, srch.parse_results = <bound method WebSearch.parse_results of <yahoo.search.web.WebSearch object>>
 /home2/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/yahoo/search/__init__.py in parse_results(self=<yahoo.search.web.WebSearch object>, xml=None)
  725 
  726         if xml is None:
  727             xml = self.get_results()
  728         res = self._result_factory(service=self)
  729         res.parse_results(xml)
xml = None, self = <yahoo.search.web.WebSearch object>, self.get_results = <bound method WebSearch.get_results of <yahoo.search.web.WebSearch object>>
 /home2/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/yahoo/search/__init__.py in get_results(self=<yahoo.search.web.WebSearch object>, stream=None, xml_parser=None, close=True)
  702                         self._valid_params.keys())
  703         if stream is None:
  704             stream = self.open()
  705         if xml_parser is None:
  706             xml_parser = self._xml_parser
stream = None, self = <yahoo.search.web.WebSearch object>, self.open = <bound method WebSearch.open of <yahoo.search.web.WebSearch object>>
 /home2/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/pysearch/yahoo/search/__init__.py in open(self=<yahoo.search.web.WebSearch object>, opener=None)
  687             else:
  688                 print "URL is ", url
  689                 raise SearchError(err)
  690             raise ServerError("WebService server unavailable")
  691         return resp
global SearchError = <class yahoo.search.SearchError>, err = <HTTPError at 139760334842768 whose fp = <addinf...34842624 whose fp = <socket._fileobject object>>>

SearchError: The service has been shut down. For further details, please see the Deprecated Services blog post http://developer.yahoo.com/blogs/ydn/posts/2010/08/api_updates_and_changes
      args = (<HTTPError at 139760334842768 whose fp = <addinf...34842624 whose fp = <socket._fileobject object>>>,)
      msg = 'The service has been shut down. For further deta...m/blogs/ydn/posts/2010/08/api_updates_and_changes'