I'm aware that this issue has been brought up before, but I've not been able to get any resolution on it. Wondering if anyone has any advice that my google-foo is not finding.
I would like to import some test data to the local datastore of my Java application. This would allow me to test bug fixes locally before deploying them, and speed up my development process significantly. I was able to download some data into a .csv file from my app using the python-based bulk loader (instructions here: http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/). Now I am trying to push the data to my local app, and not having any success. The command I'm running is as follows: python2.5 appcfg.py upload_data --application=<app-name> --kind=<entity type> --filename=data.csv --config_file=config.yaml --url=http://localhost:8888/remote_api/ This prompts me for a username and password. Various sites have said that I should be able to enter any random username, and a blank password. However, after I do that, I get the following stack trace: File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 425, in error return self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found [INFO ] Authentication Failed At the console, it prints [WARN] No file found for: /remote_api/ But I have the remote api servlet enabled at that url in web.xml, and have been able to use it in my production app. Is bulk uploading like this to a local datastore even possible? The documentation on the bulkloader says that it's impossible to download data from a local app, but is silent about uploading. Is there another way of doing this besides the bulk loader? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
