Sun Dec 14 00 55 22 2008 error client 192 168 mod_wsgi pid 11164 Excep

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] mod_wsgi (pid=11164): Exception occurred processing WSGI script '/var/www/undefined.org.ua/byteflow/django.wsgi'.
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] Traceback (most recent call last):
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 205, in __call__
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] response = self.get_response(request)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 64, in get_response
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] response = middleware_method(request)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/middleware/locale.py", line 16, in process_request
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] language = translation.get_language_from_request(request)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", line 97, in get_language_from_request
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] return real_get_language_from_request(request)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 354, in get_language_from_request
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] if lang_code in supported and lang_code is not None and check_for_language(lang_code):
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 335, in check_for_language
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] if gettext_module.find('django', globalpath, [to_locale(lang_code)])is not None:
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/gettext.py", line 437, in find
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] for nelang in _expand_lang(lang):
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/gettext.py", line 132, in _expand_lang
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] locale = normalize(locale)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] File "/usr/lib/python2.5/locale.py", line 307, in normalize
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] fullname = localename.translate(_ascii_lower_map)
[Sun Dec 14 00:55:22 2008] [error] [client 192.168.0.2] TypeError: character mapping must return integer, None or unicode