经过我一个下午的折腾,最终还是没有成功,
Python 2.5
Google App Engine 1.5.1
出现下列错误
2011-07-19 17:29:49 Running command: "['C:\\Python25\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\
appcfg.py', '--no_cookies', u'
[email protected]', '--passin', 'update', 'D:\\zhuozei']"
Application: zhuozei; version: 1
Host:
appengine.google.comStarting update of app: zhuozei, version: 1
Scanning files on local disk.
2011-07-19 17:30:09,515 WARNING
appengine_rpc.py:435 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see
http://code.google.com/appengine/kb/general.html#rpcssl .
Password for
[email protected]: Could not guess mimetype for static/img/favicon.ico. Using application/octet-stream.
Cloning 65 static files.
Cloning 252 application files.
Cloned 100 files.
Cloned 200 files.
Uploading 2 files and blobs.
Uploaded 2 files and blobs
Compilation starting.
2011-07-19 17:32:03,640 ERROR
appcfg.py:2064 An unexpected error occurred. Aborting.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 2029, in DoUpload
self.Precompile()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1794, in Precompile
files = self.PrecompileBatch(files)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1811, in PrecompileBatch
response = self.Send('/api/appversion/precompile', payload=payload)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1632, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appengine_rpc.py", line 365, in Send
f = self.opener.open(req)
File "C:\Python25\lib\
urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\
urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\
urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\
urllib2.py", line 1109, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\
__init__.py", line 367, in do_open
raise url_error
URLError: <urlopen error (8, 'EOF occurred in violation of protocol')>
Rolling back the update.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\
appcfg.py", line 76, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\
appcfg.py", line 72, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 3708, in <module>
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 3699, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 2345, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 3484, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 2745, in Update
app_summary = self.UpdateVersion(rpcserver, self.basepath, appyaml)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 2734, in UpdateVersion
lambda path: self.opener(os.path.join(basepath, path), 'rb'))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 2029, in DoUpload
self.Precompile()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1794, in Precompile
files = self.PrecompileBatch(files)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1811, in PrecompileBatch
response = self.Send('/api/appversion/precompile', payload=payload)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appcfg.py", line 1632, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\
appengine_rpc.py", line 365, in Send
f = self.opener.open(req)
File "C:\Python25\lib\
urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\
urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\
urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\
urllib2.py", line 1109, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\
__init__.py", line 367, in do_open
raise url_error
urllib2.URLError: <urlopen error (8, 'EOF occurred in violation of protocol')>
2011-07-19 17:32:08 (Process exited with code 1)
You can close this window now.