i'm lost why code isn't working. i've followed tutorial exactly. however, when type command:
google_appengine/dev_appserver.py googleappengine/helloworld/
i following error messages:
traceback (most recent call last): file "google_appengine/dev_appserver.py", line 182, in _run_file(file, globals()) file "google_appengine/dev_appserver.py", line 178, in _run_file execfile(script_path, globals_) file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 695, in main() file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 688, in main dev_server.start(options) file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 525, in start options.yaml_files) file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/application_configuration.py", line 556, in init server_configuration = serverconfiguration(yaml_path) file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/application_configuration.py", line 82, in init self._yaml_path) file "/home/caseyp/google_appengine/google/appengine/tools/devappserver2/application_configuration.py", line 272, in _parse_configuration return appinfo_includes.parseandreturnincludepaths(f) file "/home/caseyp/google_appengine/google/appengine/api/appinfo_includes.py", line 63, in parseandreturnincludepaths appyaml = appinfo.loadsingleappinfo(appinfo_file) file "/home/caseyp/google_appengine/google/appengine/api/appinfo.py", line 1715, in loadsingleappinfo listener.parse(app_info) file "/home/caseyp/google_appengine/google/appengine/api/yaml_listener.py", line 226, in parse self._handleevents(self._generateeventparameters(stream, loader_class)) file "/home/caseyp/google_appengine/google/appengine/api/yaml_listener.py", line 177, in _handleevents raise yaml_errors.eventerror(e, event_object) google.appengine.api.yaml_errors.eventerror
i've been reading google engine code can't figure out problem is! ideas?
look in app.yaml non ascii characters, if copied gae tutorial web page. in case emacs added weird first character, works fine once removed. check encoding.
Comments
Post a Comment