Hi guys, I'm stuck in a problem which drive me crazy. As the 
url(https://developers.google.com/appengine/docs/python/tools/uploadingdata?hl=zh-CN&csw=1#Configuring_the_Bulk_Loader)
 
introducing the way to download the data from datastore of my app on google 
app engine, I try this command:

appcfg.py download_data --application=news-leon --kind=csv 
--url=http://news-leon.appspot.com/remote_api --filename=test.csv

but I always get the these information:

--------------------------
02:49 PM Downloading data records.
[INFO    ] Logging to bulkloader-log-20131113.144907
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 10
[INFO    ] Opening database: bulkloader-progress-20131113.144907.sql3
[INFO    ] Opening database: bulkloader-results-20131113.144907.sql3
[INFO    ] Connecting to news-leon.appspot.com/remote_api
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
 
line 3469, in Run
    self.request_manager.Authenticate()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
 
line 1332, in Authenticate
    remote_api_stub.MaybeInvokeAuthentication()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 740, in MaybeInvokeAuthentication
    datastore_stub._server.Send(datastore_stub._path, payload=None)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appengine_rpc.py",
 
line 409, in Send
    f = self.opener.open(req)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
 
line 394, in open
    response = self._open(req, data)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
 
line 412, in _open
    '_open', req)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
 
line 372, in _call_chain
    result = func(*args)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
 
line 1199, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
 
line 1174, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 60] Operation timed out>
[ERROR   ] Authentication Failed: Incorrect credentials or unsupported 
authentication type (e.g. OpenId).
------------------------------------------------------

I also try:

appcfg.py download_data --application=news-leon --auth_domain=gmail.com 
--kind=csv --url=https://news-leon.appspot.com/remote_api 
--filename=test.csv

but still I get the same error. But it is smoothly when I use appcfg.py to 
update the project.
So could anybody help me?? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to