Did you first generate a bulkloader.yaml with create_bulkloader_config
command ?
appcfg.py create_bulkloader_config --filename=bulkloader.yaml (doesn't
work on dev)

Then you must use this bulkloader.yaml with the --config_file flag :
appcfg.py download_data --config_file=bulkloader.yaml --
filename=users.csv --kind=Permission --url=<app-directory>

For the remote api, did you use the th builtin handler ?
- remote_api: on

Then the --url should be --url=http://mysite.appspot.com/_ah/
remote_api
(/_ah)

else you can read more here.

http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/
http://blog.notdot.net/2010/04/Using-the-new-bulkloader

Regards


On Jun 5, 1:35 pm, walter <wdv...@gmail.com> wrote:
> I try to do this:
>
> appcfg.py download_data --application=mysite --kind=Album --url=http://
> mysite.appspot.com/remote_api --filename=backups/data.csv
>
> But always have the error "HTTP error 405" and next message:
>
> File "/home/myfolder/apps/google_appengine/google/net/proto/
> ProtocolBuffer.py" line 481, in skipData raise
> ProtocolBufferDecodeError, "corrupted"
>
> My app.yaml:
>
> application: mysite
> version: 2
> runtime: python
> api_version: 1
>
> builtins:
> - datastore_admin: on
>
> - remote_api: on
>
> handlers:
> - url: /
>   script: main.py
>
> - url: /media/css
>   static_dir: media/css
>
> - url: /media/img
>   static_dir: media/img
>
> - url: /media/js
>   static_dir: media/js
>
> - url: /.*
>   script: main.py

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

Reply via email to