dumb guy trying to access datastore remotely with remote_api

3 views
Skip to first unread message

Ben Nevile

unread,
Apr 18, 2009, 4:56:53 PM4/18/09
to Google App Engine
I was able to get appengine_console.py to launch in OS X with the help
of this message:

http://groups.google.com/group/google-appengine/browse_thread/thread/6bc2f759188476b2/967e636458681da0?lnk=gst&q=interactive+console+remote+api#967e636458681da0


When I try and fetch data, it asks for my name and password. My admin
name and pass come back as invalid. Is there anything clever I need
to do to get this to work? I only have one admin account on this
particular app, sanity checked by logging in and out to the admin
console.

thanks in advance.
Ben

Jeff S (Google)

unread,
Apr 20, 2009, 1:07:23 PM4/20/09
to google-a...@googlegroups.com
Hi Ben,

What are the account settings for this app? Could I see the app ID?

Thank you,

Jeff

Nick Johnson

unread,
Apr 20, 2009, 3:42:46 PM4/20/09
to google-appengine
Hi Ben,

Is your admin account a Google Apps one (eg, not @gmail.com or
@googlemail.com)? Authentication using these accounts is somewhat
broken. What you can do is create a gmail.com account specifically for
this, and add it as another admin for the app, then authenticate using
that.

-Nick Johnson

2009/4/18 Ben Nevile <ben.n...@gmail.com>:

Ben Nevile

unread,
Apr 20, 2009, 7:40:03 PM4/20/09
to Google App Engine
Hi Nick - yes, this is the problem. I suspected this, and yesterday I
tried to add ben.n...@gmail.com as a developer. I went through the
whole song and dance, and then after agreeing to the terms of service
it took me to the newbie page ("create an app!"), and the pending
developer account of ben.n...@gmail.com was removed.

So I just went to do it again to reproduce the steps exactly for you,
and this time it worked! and I can successfully access my data using
the remote API! Awesome, thank you.

One other follow-up question: in my efforts to get this working, I
took the admin restriction off of the /remote_api handler in
app.yaml. But it still asked for a login and rejected my attempts.
Maybe that's just a problem with the client script?

Ben



On Apr 20, 12:42 pm, Nick Johnson <nick.john...@google.com> wrote:
> Hi Ben,
>
> Is your admin account a Google Apps one (eg, not @gmail.com or
> @googlemail.com)? Authentication using these accounts is somewhat
> broken. What you can do is create a gmail.com account specifically for
> this, and add it as another admin for the app, then authenticate using
> that.
>
> -Nick Johnson
>
> 2009/4/18 BenNevile<ben.nev...@gmail.com>:
>
>
>
>
>
> > I was able to get appengine_console.py to launch in OS X with the help
> > of this message:
>
> >http://groups.google.com/group/google-appengine/browse_thread/thread/...

Ben Nevile

unread,
Apr 21, 2009, 4:09:12 AM4/21/09
to Google App Engine
more info about this issue: if I am logged into my google apps account
I am not able to successfully add my regular gmail account as a
developer. If I fire up another browser it works. I guess it's hard
to program around all these account edge cases.

Ben


On Apr 20, 4:40 pm, Ben Nevile <ben.nev...@gmail.com> wrote:
> Hi Nick - yes, this is the problem.  I suspected this, and yesterday I
> tried to add ben.nev...@gmail.com as a developer.  I went through the
> whole song and dance, and then after agreeing to the terms of service
> it took me to the newbie page ("create an app!"), and the pending
> developer account of ben.nev...@gmail.com was removed.
Reply all
Reply to author
Forward
0 new messages