running sample application problem missing app.yaml

278 views
Skip to first unread message

Eric Van Vliet

unread,
Dec 27, 2011, 5:02:35 PM12/27/11
to Pubsubhubbub
Following instructions in dot/tutorial.rst, I tried:

google_appengine/dev_appserver.py src/ -p 8000 --datastore_path=/tmp/
tubes1

But get:

Traceback (most recent call last):
File "google_appengine/dev_appserver.py", line 77, in <module>
run_file(__file__, globals())
File "google_appengine/dev_appserver.py", line 73, in run_file
execfile(script_path, globals_)
File "/home/eric/junk/pubsub/pshb-example/google_appengine/google/
appengine/tools/dev_appserver_main.py", line 682, in <module>
sys.exit(main(sys.argv))
File "/home/eric/junk/pubsub/pshb-example/google_appengine/google/
appengine/tools/dev_appserver_main.py", line 571, in main
root_path, {}, default_partition=default_partition)
File "/home/eric/junk/pubsub/pshb-example/google_appengine/google/
appengine/tools/dev_appserver.py", line 2983, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError

And, in fact, there is no app.yaml in the src/ folder. The third
command, "google_appengine/dev_appserver.py pubsubhubbub/hub/" starts
up ok.

Appreciate any help.

Julien Genestoux

unread,
Dec 28, 2011, 3:46:28 AM12/28/11
to pubsub...@googlegroups.com
Eric,
I wish I could help, but we do not use the AppEngine code :(
I hope someone from Google can jump in and help!

Thanks,

Charl van Niekerk

unread,
Dec 28, 2011, 6:52:25 AM12/28/11
to pubsub...@googlegroups.com
Hi Eric,

The app.yaml indeed appears to be missing in the repo:

https://github.com/marianoguerra/pshb-example/tree/master/src

I quickly compiled an example app.yaml for you:

https://gist.github.com/1527691

Note that I have not tested this so cannot vouch for its validity.

You can also consult the following for more details:

http://code.google.com/appengine/docs/python/config/appconfig.html

Hope this helps!

- Charl

Eric Van Vliet

unread,
Dec 29, 2011, 4:38:54 PM12/29/11
to pubsub...@googlegroups.com
Thanks guys. Turns out there are other problems, e.g. import flask, missing install scripts. 

Charl van Niekerk

unread,
Dec 30, 2011, 7:50:29 AM12/30/11
to pubsub...@googlegroups.com
2011/12/29 Eric Van Vliet <er...@hitpost.com>:

> Thanks guys. Turns out there are other problems, e.g. import flask, missing
> install scripts.

The README on that project is indeed rather basic; somebody should
submit some better docs.

Reply all
Reply to author
Forward
0 new messages