On Tue, Jan 20, 2009 at 1:20 PM, csellengoapplikacio wrote:
> When after some time of inactivity I load one page of the application,
> it displays nothing. After a reload it does display correctly.
>
> ...
>
> does anybody have some idea what could this be?

this is a really common issue and should be added to the FAQ if it is
not there already (sorry, i didn't check). it is caused when you don't
check if your main app file is being accessed directly, as in if
__name__ == '__main__' in the code below:

application = ...

def main():
    run_wsgi_app(application)

if __name__ == '__main__':
    main()

do the above and you'll be happy. :)
-- rodrigo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to