Hello again rc, Apologies, it seems I was too hasty in my reply. Nick has pointed out that we do in fact document how to upload data into the development server. Please see:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Loading_Data_Into_the_Development_Server Thank you, Jeff On Tue, Sep 22, 2009 at 10:57 AM, Jeff S (Google) <j...@google.com> wrote: > Hi rc, > > The upload_data command is designed for pushing data into the hosted > application, on appspot, and might not be usable with the local SDK server. > Authentication is particular is handled differently in the local SDK than in > App Engine. > > Thank you, > > Jeff > > > On Mon, Sep 21, 2009 at 7:01 AM, rc <rkc...@gmail.com> wrote: > >> >> Hi, >> >> I am new to the Google app engine. I have developed a simple app which >> has a datastore component. I want to upload some data to the >> development server. I am using the 'appcfg.py upload_data' but I am >> getting a login/password prompt and I am not sure what to put there. I >> tried using my gmail a/c & password but that fails. >> Could you please let me know what I am missing here? >> >> Thanks >> rc >> >> >> Uploading data records. >> >> [INFO ] Logging to bulkloader-log-20090921.085252 >> >> [INFO ] Throttling transfers: >> >> [INFO ] Bandwidth: 250000 bytes/second >> >> [INFO ] HTTP connections: 8/second >> >> [INFO ] Entities inserted/fetched/modified: 20/second >> >> [INFO ] Opening database: bulkloader-progress-20090921.085252.sql3 >> >> Please enter login credentials for localhost >> >> Email: r**...@gmail.com >> >> Password for r**...@gmail.com: >> >> [INFO ] Connecting to localhost:8080/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 2985, in Run >> >> request_manager.Authenticate() >> >> File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ >> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ >> google/appengine/tools/bulkloader.py", >> line 1152, 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 494, 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 344, in Send >> >> f = self.opener.open(req) >> >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >> python2.5/urllib2.py", >> line 374, in open >> >> response = self._open(req, data) >> >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >> python2.5/urllib2.py", >> line 392, in _open >> >> '_open', req) >> >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >> python2.5/urllib2.py", >> line 353, in _call_chain >> >> result = func(*args) >> >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >> python2.5/urllib2.py", >> line 1100, in http_open >> >> return self.do_open(httplib.HTTPConnection, req) >> >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >> python2.5/urllib2.py", >> line 1075, in do_open >> >> raise URLError(err) >> >> URLError: <urlopen error (61, 'Connection refused')> >> >> [INFO ] Authentication Failed >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---