Here's what I switched the code to:
f = urllib2.urlopen('http://news.ycombinator.com/rss')

And here's the new error:
...
    f = urllib2.urlopen('http://news.ycombinator.com/rss')
  File "/base/python_dist/lib/python2.5/urllib2.py", line 124, in
urlopen
    return _opener.open(url, data)
  File "/base/python_dist/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/base/python_dist/lib/python2.5/urllib2.py", line 399, in
_open
    '_open', req)
  File "/base/python_dist/lib/python2.5/urllib2.py", line 360, in
_call_chain
    result = func(*args)
  File "/base/python_dist/lib/python2.5/urllib2.py", line 1107, in
http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/base/python_dist/lib/python2.5/urllib2.py", line 1080, in
do_open
    r = h.getresponse()
  File "/base/python_dist/lib/python2.5/httplib.py", line 197, in
getresponse
    self._allow_truncated, self._follow_redirects)
  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 241, in fetch
    return rpc.get_result()
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 458, in get_result
    return self.__get_result_hook(self)
  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 325, in _get_fetch_result
    raise DownloadError(str(err))
DownloadError: ApplicationError: 2


It looks like Google has made urllib2 a wrapper for their own
urlfetch, and it's hitting the exact same error.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to