How To Solve An Error On Gae For "unexpected Attribute 'dispatch' For Object Of Type Appinfoexternal."
Please tell me to deploy my project for GAE. I can not deploy my project because of the following error. %appcfg.py update app.yaml dispatch.yaml worker.yaml (omissions) appcfg.py:
Solution 1:
Also, make sure you run appcfg.py update_dispatch
, which is a separate command from update
Solution 2:
Wrong indenting. Should be:
application: my-app
dispatch:
- url: "*/worker/*"module: worker
Solution 3:
First of all, dispatch.yaml
doesn't seem to be allowed to be an argument of appcfg.py update
. The error message must indicate that.
Try:
appcfg.py update app.yaml worker.yaml
Also, dispatch.yaml
are not an application config, but the dispatch file. So you may not allowed to write attributes other than dispatch
.
Solution 4:
modules included in dispatch must come before the dispatch.yaml in appcfg.py update, so correct command is:
appcfg.py update app.yaml worker.yaml dispatch.yaml
Solution 5:
I got a similar problem in latest gcp deployment, i.e, using gcloud
command.
I got rid of application
from dispatch.yaml
and this error was gone.
Post a Comment for "How To Solve An Error On Gae For "unexpected Attribute 'dispatch' For Object Of Type Appinfoexternal.""