无法使用GAE bulkloader

时间:2012-06-25 11:21:11

标签: python google-app-engine

我正在尝试使用bulkloader,但收到此错误。
丢弃 - 应用参数没有用。
我正在使用python2.7。

使用的命令是:

kc@Jaguareins:~/lafolle$ ../google_appengine/appcfg.py  create_bulkloader_config --filename=bulkloader.yaml . --application=mercipristo

我得到的错误是:

[ERROR   ] [WorkerThread-0] WorkerThread:
Traceback (most recent call last):
  File "/home/kc/google_appengine/google/appengine/tools/adaptive_thread_pool.py", line 176, in WorkOnItems
    status, instruction = item.PerformWork(self.__thread_pool)
  File "/home/kc/google_appengine/google/appengine/tools/bulkloader.py", line 764, in PerformWork
    transfer_time = self._TransferItem(thread_pool)
  File "/home/kc/google_appengine/google/appengine/tools/bulkloader.py", line 1170, in _TransferItem
    self, retry_parallel=self.first)
  File "/home/kc/google_appengine/google/appengine/tools/bulkloader.py", line 1471, in GetEntities
    results = self._QueryForPbs(query)
  File "/home/kc/google_appengine/google/appengine/tools/bulkloader.py", line 1442, in _QueryForPbs
    raise datastore._ToDatastoreError(e)
BadRequestError: app s~mercipristo cannot access app mercipristo's data

由于

1 个答案:

答案 0 :(得分:0)

这有效:

appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=http://mercipristo.appspot.com/_ah/remote_api --application=s~mercipristo

如此处所示:

https://groups.google.com/group/google-appengine/msg/092f97bd2ec83bbd