I am trying to learn to use the App Engine from the Getting Started
guide (using Windows XP Pro and the dev_appserver). When I try to run
the "Hello World" program using appengine, the first time I connect to
localhost with the browser I get a blank page, if I then refresh the
page I get a long list of errors ending with "maximum recursion depth
exceeded in cmp". I copied the code directly from the online guide -
it is as follows:
C:\Python25\Programs\helloworld.py
=====code start===
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class MainPage(webapp.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello webapp World!')
application = webapp.WSGIApplication(
[('/', MainPage)],
debug=True)
def main():
run_wsgi_app(application)
if __name__ == "__main__":
main()
=====code end===
C:\Python25\Programs\app.yaml
=====code start===
application: helloworld
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
=====code start===
- sorry if this is something obvious, but I can't see it.
- SteveB.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---