Yes It was not worked well.But you can use another method to make it work 
well see my appspot at 
*http://studywebapp.appspot.com/*<http://studywebapp.appspot.com/> you 
will get the answer.

在 2012年6月16日星期六UTC+8上午11时47分22秒,bhcuong2008写道:

> Hi,
>
> here is my simple app, but does not work
>
> test.py:
> ===
> #!/usr/bin/env python
> from wsgiref.handlers import CGIHandler
>
> def simple_app(environ, start_response):
>     "Simplest possible application object"
>     status = '200 OK'
>     response_headers = [('Content-type','text/plain')]
>     start_response(status, response_headers)
>     return ['Hello from CGI Handler!\n']
>
> CGIHandler().run(simple_app)
> ===
>
> Output when run dev_appserver:
> ===
> Traceback (most recent call last):
>   File "/opt/appengine/google_appengine/google/appengine/runtime/wsgi.py", 
> line 193, in Handle
>     result = handler(dict(self._environ), self._StartResponse)
> TypeError: 'module' object is not callable
> ===
>
> Please help me.
>
> Thanks,
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/LP5qB0QaQj0J.
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.

Reply via email to