I got the problem fixed. appcfg.py was not only looking at the
environment variables for proxy but also the proxy that I had set in
Internet Options (via Internet Explorer). I removed the proxy settings
from IE and then got appcfg.py working.

I am intrigued as to why appcfg.py looks into Internet Options in IE
and not just environment variables.

I was able to figure out this when I ran test code via Python console.

On Nov 29, 11:53 pm, Shyam <[EMAIL PROTECTED]> wrote:
> I get the following error while trying to upload an application
>
> Traceback (most recent call last):
>   File "D:\Program Files\Google\google_appengine\appcfg.py", line 55,
> in <module
>
>     execfile(script_path, globals())
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1954, in <module>
>     main(sys.argv)
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1947, in main
>     AppCfgApp(argv).Run()
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1524, in Run
>     self.action.function(self)
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1736, in Update
>     lambda path: open(os.path.join(basepath, path), "rb"))
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1315, in DoUpload
>     missing_files = self.Begin()
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1176, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 282, in Send
>     self._Authenticate()
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 321, in _Authenticate
>     super(HttpRpcServer, self)._Authenticate()
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 261, in _Authenticate
>     self._GetAuthCookie(auth_token)
>   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 203, in _GetAuthCookie
>     response = self.opener.open(req)
>   File "D:\Program Files\Python\Python25\lib\urllib2.py", line 381, in
> open
>     response = self._open(req, data)
>   File "D:\Program Files\Python\Python25\lib\urllib2.py", line 399, in
> _open
>     '_open', req)
>   File "D:\Program Files\Python\Python25\lib\urllib2.py", line 360, in
> _call_cha
> in
>     result = func(*args)
>   File "D:\Program Files\Python\Python25\lib\urllib2.py", line 1107,
> in http_ope
> n
>     return self.do_open(httplib.HTTPConnection, req)
>   File "D:\Program Files\Python\Python25\lib\urllib2.py", line 1082,
> in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error (11001, 'getaddrinfo failed')>
>
> I am not behind a firewall and my internet connection is OK. Please
> let me know how to solve this issue.
--~--~---------~--~----~------------~-------~--~----~
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