VariableDoesNotExist 500.jinja.html b/c no RequestContext

Server 500 errors on my installation fail to render because the handler500 is passing an empty context when the 500.jinja.html is expecting RequestContext.

There used to be a work around in the PageSize middleware. But now that has been removed. I assume you have dealt with the problem elsewhere, but I cant find where.

My details:

  • database migrations run up to and including number 0122
  • request template context processor is present
  • the tuple isn't empty

The site was generated using the askbot-setup command and I loaded a previous forum that had migrations up to and including 0113 applied.

Any clues on where to look?

Jtrain's avatar
asked 2012-06-28 16:46:18 -0500
Evgeny's avatar
updated 2012-06-29 00:09:29 -0500
edit flag offensive 0 remove flag close merge delete


If it helps you out, I did a fresh install without loading from a previous forum (having dropped the database) and I see the same problem. Askbot Version 0.7.43 according to the footer.

Jtrain's avatar Jtrain (2012-06-28 16:55:17 -0500) edit

Maybe we could create custom handler500? Should not hurt to have one extra variable in the context...

Evgeny's avatar Evgeny (2012-06-29 00:11:27 -0500) edit

I guess so, but maybe I'm doing it all wrong. Does anyone else have the same error or symptoms?

Jtrain's avatar Jtrain (2012-06-29 03:11:30 -0500) edit

I've migrated to master branch now. Perhaps this fixes the issue, it did fix the problem I had with RSS urls

Jtrain's avatar Jtrain (2012-06-29 08:37:32 -0500) edit
add a comment see more comments