How to configure Web2Py [Version 1.99.4 (2011-12-14 14:46:14) stable] to run as a WSGI application on GAE using Python2.7.2 ?
Currently my app.yaml file looks like this:
# For Google App Engine deployment, copy this file to app.yaml # and edit as required # See http:
But when trying to download the application using the AppEngine SDK for Python (v1.6.3) :
I get the following error:
2012-03-10 12:37:01 Running command: "[u'C:\\Python27\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8088', u'E:\\Programming\\Python\\web2py']" WARNING 2012-03-10 07:07:18,851 rdbms_mysqldb.py:74] The rdbms API is not available because the MySQLdb library could not be loaded. ERROR 2012-03-10 07:07:20,483 dev_appserver_main.py:581] Fatal error when loading application configuration: Invalid object: threadsafe cannot be enabled with CGI handler: gaehandler.py in "E:\Programming\Python\web2py\app.yaml", line 90, column 1 2012-03-10 12:37:20 (Process exited with code 1)
Also, is there anything else I should know about threadsafe WSGI applications, given that I'm new to this? Do I need to make any changes to my application in order to run it as one?
source share