[Chicago] AppEngine Bulk Loading

Kumar McMillan kumar.mcmillan at gmail.com
Mon May 12 15:29:43 CEST 2008


On Mon, May 12, 2008 at 8:06 AM, Feihong Hsu <hsu.feihong at yahoo.com> wrote:
> Hi everyone,
>
> I've looked at
> http://code.google.com/appengine/articles/bulkload.html but I still
> have a problem bulk loading from my CSV file. This is the error I
> get:
>
> ERROR    2008-05-12 07:51:50,421 bulkload_client.py] An error
> occurred while importing: Received code 302: Requires login
>
> Does anybody know how to resolve this?

you have to first login somewhere (anywhere on your app engine) then
get the cookie value in your browser.  It looks like ACSID=... Next,
the bulk client has a --cookie arg where you literally send it the
cookie.  For the paranoid out there note that appengine has yet to
support ssl.  Also, note that there are Unicode problems that you will
run into if you try and bulkload non-ascii :
http://code.google.com/p/googleappengine/issues/list?q=unicode&can=2

You can work around some of them but there is at least one internal
one in google's own datastore proxies that I've found.

Separate but related ... this is kind of cool: http://tinydb.org/
(runs on appengine)


More information about the Chicago mailing list