On Dec 10, 8:20 am, Aymeric Augustin <aymeric.augus...@polytechnique.org> wrote:
> Yes, I documented the procedure > here:https://code.djangoproject.com/wiki/OracleTestSetup > where I set up the CI server. Thanks for the pointer. Because of the need to have a specific amount of swap space, I ended up installing Oracle 10g XE on a 32-bit server (Linux Mint 12). No problems were encountered, until I ran the basic test to ensure that everything is working (python 2.7, cx_Oracle 5.1.1 installed vi PyPI): FAIL: test_unicode_data (modeltests.basic.tests.ModelTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vinay/projects/django3/tests/modeltests/basic/tests.py", line 496, in test_unicode_data self.assertEqual(Article.objects.get(pk=a.id).headline, AssertionError: u'\xbf\xbf \xbf\xbf\xbf' != u'\u6797\u539f \u3081\u3050\u307f' - \xbf\xbf \xbf\xbf\xbf + \u6797\u539f \u3081\u3050\u307f I realise this is an old error (I found a post from Dec 2009 about it[1], but no reason was mentioned there, nor how to get around it). I'm running with a UK locale, and after following the procedure in the Wiki, if I look in the web interface for the NLS configuration, I get: ... NLS_CHARACTERSET WE8MSWIN1252 ... NLS_NCHAR_CHARACTERSET AL16UTF16 ... As this is a Linux installation I've no idea why the 1252 character set is configured, but in any case, since NLS_LANG is set to .UTF8 by the backend, I assumed it wouldn't matter, but apparently it does :-( Can anyone enlighten me as to what to do about this? Thanks & regards, Vinay Sajip [1] http://groups.google.com/group/django-developers/browse_thread/thread/15b710ba6912998d/63e9559398a13660 -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.