upon adding more debug statements to appcfg.py and urllib2, it seems
like the following http request fails. i am *not* behind a firewall,
so that is probably not the issue. any thoughts?


request =
http://appengine.google.com/api/appversion/create?version=1&app_id=unboxer

payload =
api_version: '1'
application: unboxer
handlers:
- static_dir: stylesheets
  url: /stylesheets
- script: main.py
  url: .*
runtime: python
version: '1'

On Apr 10, 12:48 am, vv <venu...@gmail.com> wrote:
> im having some trouble uploading a locally running program to
> appengine. i'm using python release 2.5.4 and appengine sdk version
> 1.1.9. the trace is as below. help much appreciated - vv
>
> -------------------------------------
> C:\Documents and Settings\venuv\Desktop\google app eng\apps>appcfg.py
> --noisy --no_cookies update unboxer
> 2009-04-10 00:26:08,983 INFO appengine_rpc.py:120 Server:
> appengine.google.com
> 2009-04-10 00:26:08,983 INFO appcfg.py:319 Checking for updates to the
> SDK.
> 2009-04-10 00:26:09,108 INFO appcfg.py:328 Update check failed:
> <urlopen error (11001, 'getaddrinfo failed')>
> 2009-04-10 00:26:09,108 INFO appcfg.py:1178 Reading app configuration.
> Scanning files on local disk.
> 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file 'app.yaml':
> File matches ignore regex.
> 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file
> 'index.yaml': File matches ignore regex.
> 2009-04-10 00:26:09,125 INFO appcfg.py:1197 Processing file 'main.py'
> 2009-04-10 00:26:09,140 INFO appcfg.py:1197 Processing file
> 'stylesheets/main.css'
> 2009-04-10 00:26:09,155 INFO appcfg.py:1197 Processing file 'gdata/
> auth.py'
> 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
> auth.pyc': File matches ignore regex.
> 2009-04-10 00:26:09,171 INFO appcfg.py:1197 Processing file 'gdata/
> service.py'
> 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
> service.pyc': File matches ignore regex.
> 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
> urlfetch.py'
>
> 2009-04-10 00:26:09,187 INFO appcfg.py:1189 Ignoring file 'gdata/
> urlfetch.pyc':
> File matches ignore regex.
> 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
> __init__.py'
>
> 2009-04-10 00:26:09,203 INFO appcfg.py:1189 Ignoring file 'gdata/
> __init__.pyc':
> File matches ignore regex.
> 2009-04-10 00:26:09,203 INFO appcfg.py:1197 Processing file 'gdata/
> youtube/servi
> ce.py'
> 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
> youtube/service.pyc': File matches ignore regex.
> 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
> youtube/__init__.py'
> 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
> youtube/__init_
> _.pyc': File matches ignore regex.
> 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
> media/__init_
> _.py'
> 2009-04-10 00:26:09,250 INFO appcfg.py:1189 Ignoring file 'gdata/media/
> __init__.
> pyc': File matches ignore regex.
> 2009-04-10 00:26:09,250 INFO appcfg.py:1197 Processing file 'gdata/geo/
> __init__.
> py'
> 2009-04-10 00:26:09,265 INFO appcfg.py:1189 Ignoring file 'gdata/geo/
> __init__.py
> c': File matches ignore regex.
> 2009-04-10 00:26:09,265 INFO appcfg.py:1197 Processing file 'atom/
> service.py'
> 2009-04-10 00:26:09,296 INFO appcfg.py:1189 Ignoring file 'atom/
> service.pyc': Fi
> le matches ignore regex.
> 2009-04-10 00:26:09,296 INFO appcfg.py:1197 Processing file 'atom/
> __init__.py'
> 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file 'atom/
> __init__.pyc': F
> ile matches ignore regex.
> 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
> breakpoints.l
> st': File matches ignore regex.
> 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
> recent-files.
> lst': File matches ignore regex.
> Initiating update.
> 2009-04-10 00:26:09,328 ERROR appcfg.py:1235 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1213, in DoUpload
>     missing_files = self.Begin()
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.py", line 1009, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "c:\Program Files\Google\google_appengine\google\appengine\tools
> \appengine_rpc.py", line 303, in Send
>     f = self.opener.open(req)
>   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 1082, in do_open
>     raise URLError(err)
> URLError: <urlopen error (11001, 'getaddrinfo failed')>
> Traceback (most recent call last):
>   File "C:\Program Files\Google\google_appengine\appcfg.py", line 60,
> in <module
>
>     run_file(__file__, globals())
>   File "C:\Program Files\Google\google_appengine\appcfg.py", line 57,
> in run_fil
> e
>     execfile(script_path, globals_)
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1976, in <module>
>     main(sys.argv)
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1967, in main
>     result = AppCfgApp(argv).Run()
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1418, in Run
>     self.action(self)
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1879, in __call__
>     return method()
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1669, in Update
>     lambda path: open(os.path.join(basepath, path), "rb"))
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1213, in DoUpload
>     missing_files = self.Begin()
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 1009, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "c:\Program Files\Google\google_appengine\google\appengine\tools
> \appengin
> e_rpc.py", line 303, in Send
>     f = self.opener.open(req)
>   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 1082, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error (11001, 'getaddrinfo failed')>
--~--~---------~--~----~------------~-------~--~----~
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