I must be going crazy, but there isn't a gaehandler.py file anywhere in the web2py I downloaded. I am using the Windows version if that makes any difference. I've tried downloading a new copy just to make sure I didn't accidentally delete it, but I still can't find any gaehandler file. How are people getting this file?
On Tue, Feb 19, 2013 at 5:38 PM, howesc <[email protected]> wrote: > in your web2py top-level directory (not you app directory) you should have > app.yaml and gaehandler.py. > > for python2.7 my app.yaml looks kinda like this: > > application: myapp > > version: 0-20111116 > api_version: 1 > runtime: python27 > threadsafe: false # true for WSGI & concurrent requests (Python 2.7 > only) > > builtins: > - remote_api: on > > derived_file_type: > - python_precompiled > > handlers: > > - url: /remote_api > script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py > login: admin > > - url: /_ah/stats.* > script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py > login: admin > > # static files > - url: /static/(.*) > static_files: applications/myapp/static/\1 > upload: applications/myapp/static/(.*) > > - url: /_ah/queue/default > script: gaehandler.wsgiapp > login: admin > > - url: .* > script: gaehandler.wsgiapp > secure: optional > > admin_console: > pages: > - name: Appstats > url: /_ah/stats > > skip_files: | > ^(.*/)?( > (app\.yaml)| > (app\.yml)| > (.*cron\.yaml)| > (#.*#)| > (.*~)| > (.*\.py[co])| > (.*/RCS/.*)| > (\..*)| > ((admin|examples|welcome)\.tar)| > (applications/(admin|examples|welcome)/.*)| > (applications/.*?/databases/.*) | > (applications/.*?/errors/.*)| > (applications/.*?/cache/.*)| > (applications/.*?/sessions/.*)| > (.*.fla)| > )$ > > hope that helps some! > > cfh > > > On Tuesday, February 19, 2013 8:57:08 AM UTC-8, jjg0 wrote: >> >> There doesn't seem to be any mention of what to do for python 2.7 in the >> app.yaml file. Their example looks different than the app.yaml file that >> comes with the latest web2py, I don't see anything on using >> gaehandler.wsgiapp. Should I only be using python 2.5 and gaehandler.py? >> Still not clear if I need to write these files myself, they do not come >> with web2py so I assume I do? Maybe? >> >> On Tuesday, February 19, 2013 11:43:03 AM UTC-5, Niphlod wrote: >>> >>> did you read http://web2py.com/books/**default/chapter/29/13?search=** >>> gae#Deploying-on-Google-App-**Engine<http://web2py.com/books/default/chapter/29/13?search=gae#Deploying-on-Google-App-Engine>? >>> >>> On Tuesday, February 19, 2013 4:42:57 PM UTC+1, jjg0 wrote: >>>> >>>> I am new to both web2py and google app engine. Is there a good guide >>>> for running web2py on gae using python 2.7 from scratch? I've tried >>>> looking through some tutorials online but they all seem to be out of date >>>> and I can't get this working on either python 2.7 or 2.5. I've run into >>>> problems where google app engine can't find either gaehandler.py or >>>> gaehandler.wsgiapp. I noticed if I download web2py for windows neither of >>>> these files exist. Do I need to create these files? I found a >>>> gaehandler.py online and tried using that with python 2.5 , but then I get >>>> 'ImportError: No module named gluon.settings.' I am very lost, a nice >>>> 'idiot proof' guide would be really helpful. >>>> >>> -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

