Reputation: 21
i m new to GAE and i got the following error. Wonder is it due to the app.yaml file?
"ERROR 2011-08-13 18:39:57,723 dev_appserver_main.py:579] Fatal error when loa
ding application configuration:
Invalid object:
Unknown url handler type.
<URLMap
secure=default
static_files=None
auth_fail_action=redirect
require_matching_file=None
static_dir=None
script=None
url=/
upload=None
expiration=None
position=None
login=optional
mime_type=None
>
in "app\app.yaml", line 24, column 19"
application: test
version: 1
runtime: python
api_version: 1
handlers:
# simple static web site
# static as root folder
- url: /.*
script: form_post.py
Upvotes: 1
Views: 337
Reputation: 176980
The error message says
in "app\app.yaml", line 24, column 19"
and
script=None
While the app.yaml
you show both has the script set and doesn't have 24 lines.
So either you didn't show your whole app.yaml
or that's not the app.yaml
that dev_appserver.py
is seeing. Try searching for another one and making sure the file is in the right place.
Also, check the whitespace before script
-- apparently it has to be exactly right for things to work. If you don't have a form_post.py
file exactly where GAE is looking for it, you will also get this error.
Upvotes: 1