Hi Manish, You might want to try the RemoteDatastore to download or upload you data to a remote application.
http://code.google.com/p/remote-datastore/ You install it somewhere that will only be run once like this: // install api proxy in app init code RemoteDatastore.install(); // divert the datastore to read in bulk from remote app RemoteDatastore.divert("http://myversion.latest.myapp.appspot.com/ remote/datastore"); // read using JDO, Twig, Objectify, low-level List<Hotel> hotels = datastore.find() .type(Hotel.class) .returnAllResultsNow(); // switch back to local datastore RemoteDatastore.bypass(); // save data locally or process datastore.storeAll(hotels); Hope this helps, John On Jun 21, 6:41 pm, MANISH DHIMAN <manisd...@gmail.com> wrote: > Hi all > I have deployed a Java application and a Python application on app > engine. Both having different version number. I was not able to > integrate my Java app with Python bulk loader that's why I have > deployed a Python application with different version number in order > to download data.But when I try to download data following exception > occurred : > > D:\programs\Google\google_appengine>Python appcfg.py download_data -- > url=http://latest.datamigration.appspot.com/remote_api-- > filename=users > appcfg.py:41: DeprecationWarning: the sha module is deprecated; use > the hashlib module instead > os.path.join(DIR_PATH, 'lib', 'antlr3'), > D:\programs\Google\google_appengine\google\appengine\tools > \dev_appserver_login.py:33: DeprecationWarning: the md5 module is > deprecated; use hashlib instead > import md5 > Downloading data records. > [INFO ] Logging to bulkloader-log-20100621.163244 > [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-20100621.163244.sql3 > [INFO ] Opening database: bulkloader-results-20100621.163244.sql3 > [INFO ] Connecting to latest.datamigration.appspot.com/remote_api > [ERROR ] Exception during authentication > Traceback (most recent call last): > File "D:\programs\Google\google_appengine\google\appengine\tools > \bulkloader.py", line 3169, in Run > self.request_manager.Authenticate() > File "D:\programs\Google\google_appengine\google\appengine\tools > \bulkloader.py", line 1178, in Authenticate > remote_api_stub.MaybeInvokeAuthentication() > File "D:\programs\Google\google_appengine\google\appengine\ext > \remote_api\remote_api_stub.py", line 542, in > MaybeInvokeAuthentication > datastore_stub._server.Send(datastore_stub._path, payload=None) > File "D:\programs\Google\google_appengine\google\appengine\tools > \appengine_rpc.py", line 346, in Send > f = self.opener.open(req) > File "D:\programs\Python26\lib\urllib2.py", line 391, in open > response = self._open(req, data) > File "D:\programs\Python26\lib\urllib2.py", line 409, in _open > '_open', req) > File "D:\programs\Python26\lib\urllib2.py", line 369, in _call_chain > result = func(*args) > File "D:\programs\Python26\lib\urllib2.py", line 1161, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "D:\programs\Python26\lib\urllib2.py", line 1136, in do_open > raise URLError(err) > URLError: <urlopen error [Errno 11001] getaddrinfo failed> > [INFO ] Authentication Failed -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.