Dear James,
First, thank you very much for the response, and taking the effort to try
out the application on GAE.
The *app.yaml* file I am using is configured just as you have stated.
runtime: python27
threadsafe: true
- url: .*
script: gaehandler.wsgiapp # WSGI (Python 2.7 only)
secure: optional
I also have the *wsgihandler.py* and *gaehandler.py* in the *root web2py
folder* — *I think it was already there to begin with and I did not tamper
with it at all.*
I have used the same application and app.yaml file to upload the
application to GAE before. Since I got a new computer, installed python2.7
and the latest w2p and GAE-launcher, I was trying to see if everything is
set up right and working. But it seems that it is not working once uploaded
to GAE, whether it is from my new computer or even my old computer.
QUESTION
Were you able to upload and run the application on GAE? Did the Forms
appear and insert-append records properly?
Eagerly awaiting your reply.
Gratefully,
PRACHI
On Thursday, December 5, 2013 1:44:56 PM UTC-5, James Burke wrote:
>
> Hi Prachi,
>
> Your code works fine for me, uploading to GAE.
>
> It may be that your app.yaml file is configured incorrectly. Do you have
> it setup to use python 2.5 or 2.7?
>
> # use this line for Python 2.5
> #
> #runtime: python
>
>
> # use these lines for Python 2.7
> # upload app with: appcfg.py update web2py (where 'web2py' is web2py's
> root directory)
> #
> runtime: python27
> threadsafe: true # true for WSGI & concurrent requests (Python 2.7
> only)
>
>
> - url: .*
> #script: gaehandler.py # CGI
> script: gaehandler.wsgiapp # WSGI (Python 2.7 only)
> secure: optional
>
> Is how mine is setup, if you don't have wsgihandler.py or gaehandler.py in
> your root web2py folder then you will also need to copy them from the
> examples folder.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.