On Tue, Nov 20, 2007 at 01:17:50AM -0800, Jarek Zgoda wrote: > > I just started receiving the same problem when I try to save an object > that has non-ASCII values in char field (the values are all properly > decoded to unicode)> This seems related to psycopg2 backend, as I do > not observe such behaviour on my dev server with sqlite3 backend. The > model is similar to: > > class Label(models.Model): > title = models.CharField(max_length=200, unique=True) > > the code that leads to exception is like: > > t = 'żołędzie'.decode('utf-8') > label = Label(title=t) > label.save() > > The traceback from ipython:
what makes my case different from this is that the same code creates probelm from one browser and not from another in a repeatable way. Both are firefox but running on linux (no probelma) or windows (can't adapt). I didn't solve it, but it's a month it doesn't happen again... sandro *:-) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---