Hi prasy,

I got exactly the same thing in my local dev environment when I tried
to open any URL with urllib2.urlopen(url)

The same code worked fine when I uploaded it to the real AppEngine
environment, but not locally.  I was running the 1.1.5 SDK, but the
problem was resolved using 1.1.9.  I suggest that you upgrade as
Marzia has recommended.

On Feb 21, 8:21 am, prasy <prasanna2...@gmail.com> wrote:
> while trying to run this snippet i got de following error..
>
> File "C:\Program Files\Google\google_appengine\app\appspot.py", line
> 45, in getcontent
>     response = urllib2.urlopen(u)
>   File "C:\Python25\lib\urllib2.py", line 124, in urlopen
>     return _opener.open(url, data)
>   File "C:\Python25\lib\urllib2.py", line 381, in open
>     response = self._open(req, data)
>   File "C:\Python25\lib\urllib2.py", line 399, in _open
>     '_open', req)
>   File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "C:\Python25\lib\urllib2.py", line 1107, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "C:\Python25\lib\urllib2.py", line 1081, in do_open
>     except socket.error, err: # XXX what error?
> AttributeError: 'module' object has no attribute '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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to