I am trying to run the web app framework, the hello world program as
specified in the example but nothing shows up.
Here is the code for helloworld py
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()
Here is the log when I start the server ..........dev_appserver.py
helloworld
C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.py:40: De
precationWarning: the sha module is deprecated; use the hashlib module
instead
import sha
INFO 2009-04-08 17:14:29,585 appengine_rpc.py] Server:
appengine.google.com
INFO 2009-04-08 17:14:29,601 appcfg.py] Checking for updates to
the SDK.
WARNING 2009-04-08 17:14:30,740 datastore_file_stub.py] Could not
read datastor
e data from c:\users\geetha\appdata\local\temp\dev_appserver.datastore
WARNING 2009-04-08 17:14:30,740 datastore_file_stub.py] Could not
read datastor
e data from c:\users\geetha\appdata\local\temp
\dev_appserver.datastore.history
WARNING 2009-04-08 17:14:30,786 dev_appserver.py] Could not
initialize images A
PI; you are likely missing the Python "PIL" module. ImportError: No
module named
_imaging
INFO 2009-04-08 17:14:30,802 dev_appserver_main.py] Running
application hell
oworld on port 8080: http://localhost:8080
INFO 2009-04-08 17:14:44,608 dev_appserver.py] "GET / HTTP/1.1"
200 -
INFO 2009-04-08 17:14:44,608 dev_appserver_index.py] Updating C:
\helloworld\
index.yaml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---