Google App Engine upgrade error
I was trying to upgrade to 1.5.4 and I downloaded the new version from the download page and now when I click the browse button on the Launcher I get and ascii error. Does anyone know what is going on?
This is the error:
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 4143, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 4049, in _Dispatch
base_env_dict=env_dict)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", l开发者_如何学Pythonine 616, in Dispatch
base_env_dict=base_env_dict)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3120, in Dispatch
self._module_dict)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3024, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2882, in ExecuteOrImportScript
handler_path, cgi_path, import_hook)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2747, in LoadTargetModule
raise SyntaxError(error)
SyntaxError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128) please see http://www.python.org/peps/pep-0263.html for details (ting.py)
That's the code path for loading the script:
file specified in app.yaml
. It expects to find 7-bit clean ascii, but is finding something else.
Any chance that the python script specified by script:
(which appears to be ting.py
) got garbled?
精彩评论