just to verify... have you actually run the appcfg updater to upload
your modified application?  you'll need to update your app with the
new app.yaml as well as uploading the loader script. the only way to
do that is to first run "appcfgy.py update <dir>".  THEN you can run
the uploader.

On Mar 2, 10:03 am, pkhoosh <[email protected]> wrote:
> I moved the remote_api handler to the top of my app.yaml file, but I
> got the sameappcfg.pyerror.
>
> Just to clarify, when I call
>
> > C:\Program Files (x86)\Google\google_appengine> pythonappcfg.pyupload_data 
> > --config_file=DataStoreLoader.py --filename=stimulus_set.csv 
> > --kind=DataStore face-eval --has_header
>
> I am callingappcfg.pywith the config_file in my <app-directory>,
> which is face-eval in this case (a subdirectory in google_appengine).
> Also, the file that I want to uplpoad, stimulus_set.csv is also in the
> face-eval app directory, along with the DataStoreLoader class.
>
> The $PYTHON_LIB variable is at the head of the directory structure
> pointing the handler in app.yaml. I'm not sure if that variable is
> being interpreted correctly, causing the problem.
>
> I appreciate your help.
>
> On Mar 1, 7:01 pm, Eli Jones <[email protected]> wrote:
>
> > 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>pythonappcfg.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