我正在使用批量下載從數據存儲下載數據(超過1 GB)。突然,我的網絡停止工作,下載過程停在中間。我想從停止的地方恢復。當我嘗試,我得到以下錯誤Google App Engine批量下載
File "/Users/FYP/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_types.py", line 156, in ValidateString
(name, value, typename(value)))
BadArgumentError: kind should be a string; received 3 (a int):
[INFO ] [WorkerThread-2] Backing off due to errors: 1.0 seconds
[INFO ] An error occurred. Shutting down...
[ERROR ] Error in WorkerThread-0: kind should be a string; received 3 (a int):
這是我的代碼下載數據
appcfg.py download_data --config_file=bulkloader.yaml --batch_size=200 --filename=final80_2.csv
--kind=TasksTime1 --url=http://abc.appspot.com/_ah/remote_api --rps_limit=40
--db_filename=bulkloader-progress-20110429.141103 --result_db_filename=bulkloader-results-20110429.141103
如何解決這個問題?
我再次運行相同的命令,仍然收到相同的錯誤。還有其他建議嗎? – Sam 2011-04-30 14:05:13
可能是一個錯誤。您可以嘗試在此處發佈的補丁:http://code.google.com/p/googleappengine/issues/detail?id=3581 – 2011-04-30 14:26:34