2013-05-07 4 views
0

배포 된 데이터 저장소를 로컬 디렉토리로 다운로드하는 데 문제가 있습니다. GAE Datastore에서 데이터를 다운로드하는 중 문제가 발생했습니다.

문서

여기에 분명 매우 간단

https://developers.google.com/appengine/docs/python/tools/uploadingdata#Downloading_and_Uploading_All_Data

내가 조금 GAE 새로운 ... 내가 놓치고있어 뭔가를 보였다?

나는 다음 명령을 실행

appcfg.py download_data --url=http://myapp.appspot.com/_ah/remote_api --filename=ds_copy 

심지어, 를 인증하도록 요구하고 있지 않다이 출력입니다 :

12:33 PM Downloading data records. 
[INFO ] Logging to bulkloader-log-20130507.123333 
[INFO ] Throttling transfers: 
[INFO ] Bandwidth: 250000 bytes/second 
[INFO ] HTTP connections: 8/second 
[INFO ] Entities inserted/fetched/modified: 20/second 
[INFO ] Batch Size: 10 
Error 500: --- begin server output --- 

<html><head> 
<meta http-equiv="content-type" content="text/html;charset=utf-8"> 
<title>500 Server Error</title> 
</head> 
<body text=#000000 bgcolor=#ffffff> 
<h1>Error: Server Error</h1> 
<h2>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://code.google.com/appengine/community.html">report</A> your problem and mention this error message and the query that caused it.</h2> 
<h2></h2> 
</body></html> 
--- end server output --- 

이 어떤 도움에 감사드립니다!

답변

0

당신은 단순히 원격 API를 활성화해야합니다

builtins: 
- remote_api: on 

업데이트 한 후 다음 명령을 실행 응용 프로그램 :

appcfg.py download_data -A appName --url=http://appName.appspot.com/_ah/remote_api/ --filename=data.csv 
appcfg.py --url=http://localhost:8080/_ah/remote_api/ --filename=data.csv upload_data <directory> 

https://stackoverflow.com/a/7944641/2954800

에서 촬영을
관련 문제