I am having some weird problem I never encountered when trying to
replicate the server dataset on my workstation. I am trying:
appcfg.py download_data --application=[appname]
--url=http://[appname].appspot.com/_ah/remote_api
--filename=output.data
And getting
Downloading data records.
[INFO ] Logging to bulkloader-log-20110813.205612
[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-20110813.205612.sql3
[INFO ] Opening database: bulkloader-results-20110813.205612.sql3
[INFO ] Connecting to [appname].appspot.com/_ah/remote_api
Traceback (most recent call last):
File "/usr/local/bin/appcfg.py", line 76, in <module>
run_file(__file__, globals())
File "/usr/local/bin/appcfg.py", line 72, in run_file
execfile(script_path, globals_)
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
3768, in <module>
main(sys.argv)
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
3759, in main
result = AppCfgApp(argv).Run()
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
2364, in Run
self.action(self)
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
3533, in __call__
return method()
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
3339, in PerformDownload
run_fn(args)
File "/opt/google_appengine/google/appengine/tools/appcfg.py", line
3251, in RunBulkloader
sys.exit(bulkloader.Run(arg_dict))
File "/opt/google_appengine/google/appengine/tools/bulkloader.py",
line 4369, in Run
return _PerformBulkload(arg_dict)
File "/opt/google_appengine/google/appengine/tools/bulkloader.py",
line 4264, in _PerformBulkload
return_code = app.Run()
File "/opt/google_appengine/google/appengine/tools/bulkloader.py",
line 3447, in Run
kinds = self.RunPostAuthentication()
File "/opt/google_appengine/google/appengine/tools/bulkloader.py",
line 3616, in RunPostAuthentication
return self.request_manager.GetSchemaKinds()
File "/opt/google_appengine/google/appengine/tools/bulkloader.py",
line 1354, in GetSchemaKinds
global_stat = stats.GlobalStat.all().get()
File "/opt/google_appengine/google/appengine/ext/db/__init__.py",
line 1974, in get
results = self.fetch(1, config=config)
File "/opt/google_appengine/google/appengine/ext/db/__init__.py",
line 2027, in fetch
raw = raw_query.Get(limit, offset, config=config)
File "/opt/google_appengine/google/appengine/api/datastore.py", line
1504, in Get
batch = batcher.next_batch(limit)
File "/opt/google_appengine/google/appengine/datastore/datastore_query.py",
line 2299, in next_batch
batch = self.__next_batch.get_result()
File "/opt/google_appengine/google/appengine/api/apiproxy_stub_map.py",
line 592, in get_result
return self.__get_result_hook(self)
File "/opt/google_appengine/google/appengine/datastore/datastore_query.py",
line 2049, in __query_result_hook
self._conn.check_rpc_success(rpc)
File "/opt/google_appengine/google/appengine/datastore/datastore_rpc.py",
line 1074, in check_rpc_success
raise _ToDatastoreError(err)
google.appengine.api.datastore_errors.BadRequestError: app s~[appname]
cannot access app [appname]'s data
Should I worry? Should I RTFM again?
--
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/FjvCqhReDIgJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
How to open the output.data file? I am assuming all the data from course (course and student data) will be in the .data file. pls provide examples to open this file.