Hi, Neetha.

I faced a similar problem with my app.  In my case, it seemed that the app 
worked fine if it was already warm, but it only served blank pages if it was 
cold.

I had a file called main.py, with a function called main(), in which I set up 
my URL mapping, defined my WSGI app, and ran my WSGI app.  If I recall 
correctly, my solution was to add the following lines at the very bottom of my 
main.py file, not indented (not part of the main() function):

if __name__ == '__main__':
    main()

I hope that solves your problem as well.  Good luck!
Raj

On Mar 6, 2011, at 3:11 PM, BonguN wrote:

> Hi,
> 
> I am fairly new to Google app engine and python and am trying to
> develop a web application.
> Whenever I load my project in app engine launcher and click 'Browse'
> it will display the expected results in a browser.
> 
> But, If I try the same thing after a while (with no changes made), it
> still runs, but does not display anything in the browser. I do not
> seem to understand the reason for this inconsistency.
> 
> Please help.
> 
> -- 
> 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.
> 

-- 
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.

Reply via email to