OK, I tried bulkloader.py, and it comes back with an authentication
error.  I searched both the app-engine groups, and lots of people are
having the same or very similar problems, and it looks like its been
going on for a long time without any good answer.  The best I could
find was that I have to have a gmail account to authenticate with
bulkloader.  I tried that, adding my gmail account to the pywhip
project, then signing out of my regular account.  It still doesn't
work.  There is no prompt for an authentication, like I see with
appcfg.py.  It just runs and fails.  (see session below)

This problem has already been posted in the appengine forums with no
answer.  It is something that needs to be done in cloning a project,
so I hope it will get an answer here.  I think it would be good to
have everything relevant to cloning a project in one place.  Maybe we
can distill this thread into an FAQ, and link to the FAQ from the
other forums.

Here is the session from my Command Prompt in Windows XP:

C:\Documents and Settings\User\My Documents\PyWhip\SVN>bulkloader.py --
dump --ap
p_id=pywhip --url=http://pywhip.appspot.com/remote_api --
filename=dump100309
C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api\remote_
api_stub.py:64: DeprecationWarning: the sha module is deprecated; use
the hashli
b module instead
  import sha
C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver_lo
gin.py:33: DeprecationWarning: the md5 module is deprecated; use
hashlib instead

  import md5
[INFO    ] Logging to bulkloader-log-20100309.172059
[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-20100309.172059.sql3
[INFO    ] Opening database: bulkloader-results-20100309.172059.sql3
[INFO    ] Connecting to pywhip.appspot.com/remote_api
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 3158, in Run
    self.request_manager.Authenticate()
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 1169, in Authenticate
    remote_api_stub.MaybeInvokeAuthentication()
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 539, 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 346, in Send
    f = self.opener.open(req)
  File "C:\Python26\lib\urllib2.py", line 395, in open
    response = meth(req, response)
  File "C:\Python26\lib\urllib2.py", line 508, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python26\lib\urllib2.py", line 433, in error
    return self._call_chain(*args)
  File "C:\Python26\lib\urllib2.py", line 367, in _call_chain
    result = func(*args)
  File "C:\Python26\lib\urllib2.py", line 516, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
[INFO    ] Authentication Failed

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" 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-code-hosting?hl=en.

Reply via email to