在Google App Engine中批量上传数据 - 问题
我正在尝试使用批量上传工具把一些数据上传到谷歌应用引擎(GAE),具体的步骤可以参考这个链接:http://code.google.com/appengine/docs/python/tools/uploadingdata.html
当我运行这个命令时;
appcfg.py create_bulkloader_config --filename=bulkloader.yaml
我得到了这个错误:
appcfg.py: error: Expected either --url or a single <directory> argument.
我发现其他一些人也遇到了同样的问题,但他们提供的解决办法似乎都没有用。
如果有人能帮忙,我会非常感激。谢谢!
2 个回答
0
这个过程有很多步骤。在花了很多时间在这么基础的事情上之后,我写了一个教程,帮助大家快速而简单地完成这个过程。
http://heliodorj.blogspot.com/2011/09/google-app-engine-bulk-download-and.html
3
你必须指定应用程序的文件夹。如果你已经在这个文件夹里,只需要运行:
appcfg.py create_bulkloader_config --filename=bulkloader.yaml .
如果不在这个文件夹里,就运行:
appcfg.py create_bulkloader_config --filename=bulkloader.yaml
path/to/root/gae/app/