To add to that, I tried to use the download_data tool to get a csv
dump of my datastore entities. It runs fine, until eventually it hits
this:
[ERROR ] [Thread-11] ExportProgressThread:
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1385, in run
self.PerformWork()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 2127, in PerformWork
item.progress_key = self.db.StoreKeys(item.key_start,
item.key_end)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1926, in StoreKeys
repr(key_start), repr(key_end))
AssertionError: datastore_types.Key.from_path(u'Model_mobileapp',
u'286532250', _app_id_namespace=u'appcaddylive') not less than
datastore_types.Key.from_path(u'Model_mobileapp', u'284152154',
_app_id_namespace=u'appcaddylive')
so, something seems a bit broken there. If it helps, I have the
following indexes defined for Model_mobileapp:
indexes:
- kind: Model_mobileapp
properties:
- name: __key__
direction: desc
Because the bulkloader used to complain that it needs a descending
index on key for parallel downloads.