On 30 jan, 01:06, Noah <[EMAIL PROTECTED]> wrote: > We're having an extremely difficult to diagnose problem: > > At some point (possibly due to access from the public to a particular > view) our server will crap out. > All 21 Django sites hosted on it will display a very similar error. > There are obviously slight variations in the local variables and > what's going on > They ALL produce a very similar error. > > Once the error occurs it takes out every site using our app, the > django admin unaffected just the sites front ends (all powered by our > in-house Django based CMS) > Restarting apache to fix it but it will come back. > > We're using PostgreSQL 8.2, Apache 2.2, Python 2.5 and mod_python 2.7 > and django 0.96 from svn (the bugfixes branch) > > All of the tables in the databases are UTF-8 and many contain > charecter data outside of the ASCII range and the pages work fine. > > Here are 4 errors from 4 sites instantly they all experience the same > problemhttp://www.pastebin.ca/881636http://www.pastebin.ca/881640http://www.pastebin.ca/881643http://www.pastebin.ca/881646
Your have some where in your python code a not unicode character... Make sure you .py files are utf-8... you can make sure of this by adding this on top of your file # -*- coding: utf-8 -*- That wil make sure it reads utf-8 encoding in your file! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

