简体   繁体   中英

Hello World Google App Engine not working

I'm following this simple tutorial to create a hello world app, but on testing ("Starting the development server") it fails to run. When I click on "logs" in the launcher, I have

in "C:\...\app.yaml", line 1, column 14
2013-07-13 19:48:38 (Process exited with code 1)

The 14th line in the .yaml file is version: "2.5.2" . Can it cause the problem?

Thanks!

The Google App Engine SDK download page pointed me to a different "Getting started" page which in turn leads me to a different helloworld tutorial . In that different tutorial they do not have the libraries section in the app.yaml file.

For the sake of the tutorial, please use the link above and remove the offending section. I will give an update as I will try the tutorial you pointed to.


From a blank project after creating the app.yaml I get:

Value 'your_app_id' for application does not match expression '^(?:(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{0,99}[a-z\d])$'
  in "../apps/app.yaml", line 1, column 14

I replaced application: your_app_id with application: your-app-id .

I'm not sure how clearly this is stated in the other answers but the name of your application can't being either capitalized or have underscores in the name. When naming your app use "example" instead of "Example", or "test-example", instead of "test_example".

Even i faced issues regarding the same while running my Hello_world app

  • the solution was finally in app.yaml file (as is the case most of the time)

    error: application: hello_world

    solution: application: hello-world (underscore sign replaced)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM