This is the code that now fails - though it has worked for
18months!!!!

class MainHandler(webapp.RequestHandler):
  def get(self):

    path = self.request.path
    isgeneric=path.rfind('generic')
    isinformation=path.rfind('information')
    isexpat=path.rfind('expat')
    temp = os.path.join (
          os.path.dirname(__file__),
        'templates' + path)

    if doRender(self,path):
        return
    doRender(self,'index.htm')


On Oct 12, 8:25 pm, Nick Johnson <nickjohn...@google.com> wrote:
> Hi Kate,
>
> Your app appears to be returning a 500 server error (with no text in the
> body) when fetching the base URL (/) of your app. It's impossible to say why
> this is without seeing your code and logs. Have you checked the logs in the
> App Engine admin console to see what is being logged for these requests?
>
> -Nick Johnson
>
>
>
> On Thu, Oct 13, 2011 at 10:42 AM, Kate <mss.ka...@gmail.com> wrote:
> > I haven't touched a thing, yet suddenly my site throws an error when
> > the url does not contain the filename.
>
> > e.g.
> >http://www.coolabah.comgives a server error while
> >http://www.coolabah.com/index.htmworks fine.
>
> > Can anyone help me!
>
> > The error is
> > The website cannot display the page
> >  HTTP 500
> >   Most likely causes:
> > •The website is under maintenance.
> > •The website has a programming error.
>
> > --
> > You received this message because you are subscribed to theGoogleGroups
> > "GoogleApp Engine" group.
> > To post to this group, send email togoogle-appeng...@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.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine

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