I found the answer at:

http://groups.google.com/group/google-appengine/browse_thread/thread/26721420de23709e/8a4d2d7523c810be?lnk=gst&q=blank+page#8a4d2d7523c810be

check for

if __name__ == '__main___':
  main()

and the end of your handler

--JJ

On Dec 29, 6:02 pm, Jose J <to.jose.jime...@gmail.com> wrote:
> My apology for bringing up what might be a beginner question.  I am
> working on a new application and I occasionally get ablankpageon
> the first request for an application.  Theblankpageis completelyblank.  The 
> source of thepageisblankas well.  My application
> request log reports it as a 200, but does not request images, css,
> scripts, etc.    Thepageis notblankand, on a refresh, the log
> shows a request for all the files and the browser shows the fullpage.  Could 
> this be an issue with how my site is coded?  The homepagedoes not require 
> login.  The homepageis using a django
> template, but, like I said, the resultingpageis completelyblank,
> not ablanktemplate.
>
> My site works otherwise and I like the way it works.  I just don't
> understand what is happening when I get ablankpage.  Should I make
> my homepagea staticpage?  Would that help? or would the first codepagestill 
> require a refresh?  Is it because I have a template named
> Index.html at the root of my application?  I would think that it would
> be serving up the template without expanding the content if that was
> the issue.
>
> I did some searching and found one reference that was answered by
> someone who mentioned a caching delay on the GAE servers.  If that is
> the problem, how do others get around it?  (does your app just need to
> have enough users to avoid everyone seeing theblankpage?)
>
> Any help would be great.
>
> Thank you,
>
> --JJ
--~--~---------~--~----~------------~-------~--~----~
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