python - Google App Engine Bulk download -
i downloading data(more 1 gb) datastore using bulk download. suddenly, internet stopped working , download process stopped in middle. want resume stopped. when try, following error
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 string; received 3 (a int): [info ] [workerthread-2] backing off due errors: 1.0 seconds [info ] error occurred. shutting down... [error ] error in workerthread-0: kind should string; received 3 (a int):
this code download data
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
how solve problem ?
just re-run same command. per the docs:
if transfer interrupted, can resume transfer left off using --db_filename=... argument. value name of progress file created tool, either name provided --db_filename argument when started transfer, or default name includes timestamp. assumes have sqlite3 installed, , did not disable progress file --db_filename=skip.
you specified db_filename
on first execution, if re-run command, should find existing file , pick left off.
Comments
Post a Comment