Could not find app.yaml in "%s"

j@ime:~/myapp$ myapp
Traceback (most recent call last):
  File "/usr/local/bin/google_appengine/", line 171, in 
    run_file(__file__, globals())
  File "/usr/local/bin/google_appengine/", line 167, in run_file
    execfile(script_path, globals_)
  File "/usr/local/bin/google_appengine/google/appengine/tools/", line 747, in 
  File "/usr/local/bin/google_appengine/google/appengine/tools/", line 624, in main
    root_path, {}, default_partition=default_partition)
  File "/usr/local/bin/google_appengine/google/appengine/tools/", line 3355, in LoadAppConfig
    'Could not find app.yaml in "%s".' % (root_path,)) Could not find app.yaml in "myapp".

To fix this, i cd back to root, and again, ran myapp/
Allow dev_appserver to check for updates on startup? (Y/n): y
dev_appserver will check for updates on startup.  To change this setting, edit /home/j/.appcfg_nag
INFO     2012-11-09 04:12:38,938] Checking for updates to the SDK.
INFO     2012-11-09 04:12:42,031] This SDK release is newer than the advertised release.
WARNING  2012-11-09 04:12:42,031] The datastore file stub is deprecated, and
will stop being the default in a future release.
Append the --use_sqlite flag to use the new SQLite stub.

You can port your existing data using the --port_sqlite_data flag or
purge your previous test data with --clear_datastore.

WARNING  2012-11-09 04:12:42,032] Could not read datastore data from /tmp/dev_appserver.datastore
WARNING  2012-11-09 04:12:42,033] Could not read search indexes from /tmp/dev_appserver.searchindexes
INFO     2012-11-09 04:12:42,202] Running application dev~helloworld on port 8080: http://localhost:8080
INFO     2012-11-09 04:12:42,203] Admin console is available at: http://localhost:8080/_ah/admin
INFO     2012-11-09 04:13:09,607] building _go_app
INFO     2012-11-09 04:13:10,170] running _go_app, HTTP port = 55273, API port = 34087
INFO     2012-11-09 04:13:10,292] "GET / HTTP/1.1" 200 -
INFO     2012-11-09 04:13:10,608] "GET /favicon.ico HTTP/1.1" 200 -
INFO     2012-11-09 04:13:10,615] "GET /favicon.ico HTTP/1.1" 200 -

Opening a new tab, on the addressbar, type in localhost:8080/, and I get Hello World.

1 comment: