Is the remote_api handler at the very top of your app.yaml?

if there is something like:

- url: /.*
  script: myscript

Above the remote_api handler.. then it won't work.

On Mon, Mar 1, 2010 at 8:43 PM, pkhoosh <[email protected]> wrote:

> I am trying to upload a csv file to a data store. I uploaded my
> app.yaml file with the following:
>
> - url: /remote_api
>  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
>  login: admin
>
>
> I wrote a python handler in my application directory
> (DataStoreLoader.py).
>
> However, I get the following when I upload:
>
> C:\Program Files (x86)\Google\google_appengine>python appcfg.py
> upload_data --config_file=DataStoreLoader.py --
> filename=stimulus_set.csv --kind=DataStore face-eval --has_header
>
> Application: face-eval; version: 1.
> Usage: appcfg.py [options] upload_data <directory>
>
> appcfg.py: error: You must have
> google.appengine.ext.remote_api.handler assigned
>  to an endpoint in app.yaml, or provide the url of the handler via the
> 'url' opt
> ion.
>
> Any help?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to