Getting an error on brand new web2py instal when run with GAE SDK

7 views
Skip to first unread message

Benigno

unread,
Sep 2, 2009, 12:25:28 PM9/2/09
to web2py-users
Hello,

I have just downloaded web2py latest version, and running google
appengine launcher 1.2.4

I have unpacked the demo applications folder (welcome, admin,
examples), and then I launch it from SDK. I access
http://localhost:8086/welcome/default/index without problems, but from
there, if I try to go to admin, or anywhere else, I get INVALID
REQUEST error.

Maybe there is something basic that I may be missing. Also, I am
running on OSX 10.6 which I just upgraded, but I dont know that that
should make a difference.

Thanks,
Benigno

mdipierro

unread,
Sep 2, 2009, 1:26:07 PM9/2/09
to web2py-users
are you using source and python 2.5?

On Sep 2, 11:25 am, Benigno <bca...@albendas.com> wrote:
> Hello,
>
>      I have just downloaded web2py latest version, and running google
> appengine launcher 1.2.4
>
>      I have unpacked the demo applications folder (welcome, admin,
> examples), and then I launch it from SDK. I accesshttp://localhost:8086/welcome/default/indexwithout problems, but from

Yarko Tymciurak

unread,
Sep 2, 2009, 2:01:31 PM9/2/09
to web...@googlegroups.com
I think admin is not supported on GAE;  you can see if you get "anywhere else"
by trying the examples app (basically, the web2py web site):

Using your link port, for example, this would look like:

http://localhost:8086/examples

The Login / register links from welcome I believe should also work.

Benigno

unread,
Sep 2, 2009, 5:30:48 PM9/2/09
to web2py-users
Yes, source and python2.5, well at least whenever I run it manually,
and no I cannot get to examples either.

It was installed from source. Downloaded zip, unziped, ran upgrade to
unpack apps, added to SDK the folder, and ran it from within SDK
without any further options.

However, regarding python2.5, as I am running the app from the GAE
SDK, I didnt know you had any option of going with any other python
version.

Benigno.

On Sep 2, 8:01 pm, Yarko Tymciurak <yark...@gmail.com> wrote:
> I think admin is not supported on GAE;  you can see if you get "anywhere
> else"
> by trying the examples app (basically, the web2py web site):
>
> Using your link port, for example, this would look like:
>
> http://localhost:8086/examples
>
> The Login / register links from welcome I believe should also work.
>
> On Wed, Sep 2, 2009 at 11:25 AM, Benigno <bca...@albendas.com> wrote:
>
> > Hello,
>
> >     I have just downloaded web2py latest version, and running google
> > appengine launcher 1.2.4
>
> >     I have unpacked the demo applications folder (welcome, admin,
> > examples), and then I launch it from SDK. I access
> >http://localhost:8086/welcome/default/indexwithout problems, but from

Yarko Tymciurak

unread,
Sep 3, 2009, 1:26:29 AM9/3/09
to web...@googlegroups.com
I spoke in error;  examples is not loaded into GAE environment (in fact, nothing extraneous is).

See P. 305-  of the 2nd edition web2py manual; you can view at
http://www.web2py.com/examples/default/docs

Benigno

unread,
Sep 3, 2009, 4:58:38 AM9/3/09
to web2py-users
Yarko,

Are you refering to "When deploying, web2py ignores the admin,
examples, and welcome applications since they are not needed. You may
want to edit the app.yaml file and ignore other applications as well."

From this what I understood is that it ignores them when sending
them to the app engine (deploying) not when testing locally with the
SDK, thats where confusion came from. But you are completelly right,
they are excluded in the app.yaml.

Thanks for the answer,
Benigno.

On Sep 3, 7:26 am, Yarko Tymciurak <yark...@gmail.com> wrote:
> I spoke in error;  examples is not loaded into GAE environment (in fact,
> nothing extraneous is).
>
> See P. 305-  of the 2nd edition web2py manual; you can view athttp://www.web2py.com/examples/default/docs
>
> On Wed, Sep 2, 2009 at 4:30 PM, Benigno <bca...@albendas.com> wrote:
>
> > Yes, source and python2.5, well at least whenever I run it manually,
> > and no I cannot get to examples either.
>
> > It was installed from source. Downloaded zip, unziped, ran upgrade to
> > unpack apps, added to SDK the folder, and ran it from within SDK
> > without any further options.
>
> > However, regarding python2.5, as I am running the app from the GAE
> > SDK, I didnt know you had any option of going with any other python
> > version.
>
> > Benigno.
>
> > On Sep 2, 8:01 pm, Yarko Tymciurak <yark...@gmail.com> wrote:
> > > I think admin is not supported on GAE;  you can see if you get "anywhere
> > > else"
> > > by trying the examples app (basically, the web2py web site):
>
> > > Using your link port, for example, this would look like:
>
> > >http://localhost:8086/examples
>
> > > The Login / register links from welcome I believe should also work.
>
> > > On Wed, Sep 2, 2009 at 11:25 AM, Benigno <bca...@albendas.com> wrote:
>
> > > > Hello,
>
> > > >     I have just downloaded web2py latest version, and running google
> > > > appengine launcher 1.2.4
>
> > > >     I have unpacked the demo applications folder (welcome, admin,
> > > > examples), and then I launch it from SDK. I access
> > > >http://localhost:8086/welcome/default/indexwithoutproblems, but from
Reply all
Reply to author
Forward
0 new messages