I am trying to upload some data to GAE using the bulk uploader outlined; http://code.google.com/appengine/docs/python/tools/uploadingdata.html
When I run the command;
appcfg.py create_bulkloader_config --filename=bulkloader.yaml
I get:
appcfg.py: error: Expected either --url or a single <directory> argument.
From looking around, a few other people have had the same problem but the suggestions giv开发者_StackOverflow社区en to fix the issue do not seem to work.
Any help will be much appreciated. Thank you.
You must specify the application folder. If you are in it, just run:
appcfg.py create_bulkloader_config --filename=bulkloader.yaml .
otherwise run:
appcfg.py create_bulkloader_config --filename=bulkloader.yaml
path/to/root/gae/app/
There are plenty of steps in the process. After spending much time on something so elementary, I wrote a tutorial to get people through the process quickly and without any fuss.
http://heliodorj.blogspot.com/2011/09/google-app-engine-bulk-download-and.html
精彩评论