0

我正在尝试使用bulkloader,但收到此错误。
删除 --application 参数没有帮助。
我正在使用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

谢谢

4

1 回答 1

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

于 2012-06-26T09:38:09.910 回答