How can I use the Google App engine bulkloader to

2019-01-28 19:06发布

The docs say

appcfg.py --dump --app_id=<app-id> \
 --url=http://<appname>.appspot.com/remote_api \
 --filename=<data-filename>

The thing itself barfs:

Usage: appcfg.py [options] <action>
appcfg.py: error: no such option: --dump
$ cat /usr/local/share/google_appengine/VERSION 
release: "1.3.4"

Thoughts?

2条回答
来,给爷笑一个
2楼-- · 2019-01-28 19:30

I found that I had to use download_data instead of --dump and --application instead of --app_id, for example:

 appcfg.py download_data --application=app_id --url=http://etc --filename=file
查看更多
爷的心禁止访问
3楼-- · 2019-01-28 19:44

Is it possible that you have two versions of app engine installed; one on your python path (a different version of appengine) and one in the /usr/local/share/google_appengine/VERSION directory (which reports 1.3.4)

查看更多
登录 后发表回答