I got the same exception, it turned out that our designer put some invalid characters into one of the templates. I figured out which template had been broken, due to the fact that `makemessages` left empty `buggy_template.html.py` file in `buggy_template.html` folder.
-- Tomasz Zielinski pyconsultant.eu -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.