Hello,

I am trying to move data from my local datastore to the appengine live 
datastore by downloading from
my local datastore to a file I intend as input in an appcfg.py upload_data 
action.  I am getting stopped
on authentication. I have carefully retried to rule out entering wrong 
email/password.  My questions are :

1) Am I on the right track with the method I am using ?

2) What do I have to do to be seen as authenticated on the development 
server for appcfg.py use ?

3) Is it necessary for me to generate or write a configuration file if I 
only want
   to upload my local datastore with no transformations on the data already 
in there ?

Thanks,  Joe


COMMAND :

appcfg.py download_data --application=pathways-energy-demo 
--url=http://localhost:8080 --filename=dump

LOG FILE :

[INFO    ] Logging to bulkloader-log-20110707.065327
[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-20110707.065327.sql3
[INFO    ] Opening database: bulkloader-results-20110707.065327.sql3
Please enter login credentials for localhost
Email: [email protected]
Password for [email protected]: 
[INFO    ] Connecting to localhost:8080
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File 
"/home/joe/google_appengine_1.5.1/google/appengine/tools/bulkloader.py", 
line 3431, in Run
    self.request_manager.Authenticate()
  File 
"/home/joe/google_appengine_1.5.1/google/appengine/tools/bulkloader.py", 
line 1319, in Authenticate
    remote_api_stub.MaybeInvokeAuthentication()
  File 
"/home/joe/google_appengine_1.5.1/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 656, in MaybeInvokeAuthentication
    datastore_stub._server.Send(datastore_stub._path, payload=None)
  File 
"/home/joe/google_appengine_1.5.1/google/appengine/tools/appengine_rpc.py", 
line 365, in Send
    f = self.opener.open(req)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
[INFO    ] Authentication Failed

-- 
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/-/TWRo2Tr9wmkJ.
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?hl=en.

Reply via email to