bulkloader:--dump的密钥排序问题

时间:2009-09-11 18:44:56

标签: python google-app-engine

创建解决方案以解析this issue后,我在尝试转储数据时遇到此问题:

[ERROR   ] [Thread-2] ExportProgressThread:
Traceback (most recent call last):
  File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/bulkloader.py", line 1375, in run
    self.PerformWork()
  File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/bulkloader.py", line 2117, in PerformWork
    item.progress_key = self.db.StoreKeys(item.key_start, item.key_end)
  File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/bulkloader.py", line 1916, in StoreKeys
    repr(key_start), repr(key_end))
AssertionError: datastore_types.Key.from_path(u'Image', 6199L, _app_id_namespace=u'meh-instinct') not less than datastore_types.Key.from_path(u'Image', 6092L, _app_id_namespace=u'meh-instinct')

似乎我的按键被选中以便以意想不到的顺序导出。​​

有什么想法吗?

0 个答案:

没有答案