I am trying to use appcfg.py to upload and download data in bulk, as
described here: 
http://code.google.com/appengine/docs/python/tools/uploadingdata.html,
and I'm having serious authentication issues.

I've had no issues using this tool before, but the difference is that
this particular app is running on a Google Apps domain, whereas my
previous one was just on appspot. My App Engine account is through
[email protected], so I use that login when uploading the app,
and it works fine. However, if I try that login when doing a bulk
upload, it says "Invalid username or password." So I've tried using an
administrative account from my Google Apps domain, which it seems to
like, but then it fails with the error I pasted at the end of this
post.

Am I supposed to use my @gmail.com App Engine account, or my
administrative account at the Apps domain? Is there a setting I'm
missing to make the uploader authenticate via the correct domain?



Downloading data records.
[INFO    ] Logging to bulkloader-log-20090829.151357
[INFO    ] Opening database: bulkloader-progress-20090829.151357.sql3
[INFO    ] Opening database: bulkloader-results-20090829.151357.sql3
[INFO    ] [Thread-1] WorkerThread: started
[INFO    ] [Thread-2] WorkerThread: started
[INFO    ] [Thread-3] WorkerThread: started
[INFO    ] [Thread-4] WorkerThread: started
[INFO    ] [Thread-5] WorkerThread: started
[INFO    ] [Thread-6] WorkerThread: started
[INFO    ] [Thread-7] WorkerThread: started
[INFO    ] [Thread-8] WorkerThread: started
[INFO    ] [Thread-9] WorkerThread: started
[INFO    ] [Thread-10] WorkerThread: started
[INFO    ] Connecting to /remote_api
Please enter login credentials for scholarshape.appspot.com
Email: [email protected]
Password for [email protected]:
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 2802, in Run
    request_manager.Authenticate()
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 1126, in Authenticate
    remote_api_stub.MaybeInvokeAuthentication()
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 488, in MaybeInvokeAuthentication
    datastore_stub._server.Send(datastore_stub._path, payload=None)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py", line 344, in Send
    f = self.opener.open(req)
  File "C:\Python25\lib\urllib2.py", line 387, in open
    response = meth(req, response)
  File "C:\Python25\lib\urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python25\lib\urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
[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 [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