I occasionally get an error message from Django that reports:

  File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 36,
in defaulterrorhandler

OperationalError: (1267, "Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation 'like'")

The one I received this morning was for a review with 3 files - 2 .cpp
ahd 1 .h. It doesn't appear to prevent the review process, but it is
somewhat noisy. Is there some way I can prevent it?

I'm running RB 1.5.5 on CentOS 5.6. The full traceback is below.

Thanks!

--
-- Steve

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
core/handlers/base.py", line 178, in get_response
    response = middleware_method(request, response)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
middleware/http.py", line 15, in process_response
    response['Content-Length'] = str(len(response.content))

  File "/usr/lib/python2.4/site-packages/Djblets-0.6.11-py2.4.egg/
djblets/webapi/core.py", line 276, in _get_content
    content = adapter.encode(self.api_data, request=self.request)

  File "/usr/lib/python2.4/site-packages/Djblets-0.6.11-py2.4.egg/
djblets/webapi/core.py", line 88, in encode
    return super(JSONEncoderAdapter, self).encode(o)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
utils/simplejson/encoder.py", line 193, in encode
    chunks = list(chunks)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
utils/simplejson/encoder.py", line 416, in _iterencode
    for chunk in _iterencode_dict(o, _current_indent_level):

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
utils/simplejson/encoder.py", line 390, in _iterencode_dict
    for chunk in chunks:

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
utils/simplejson/encoder.py", line 424, in _iterencode
    o = _default(o)

  File "/usr/lib/python2.4/site-packages/Djblets-0.6.11-py2.4.egg/
djblets/webapi/core.py", line 96, in default
    result = self.encoder.encode(o, *self.encode_args,
**self.encode_kwargs)

  File "/usr/lib/python2.4/site-packages/Djblets-0.6.11-py2.4.egg/
djblets/webapi/core.py", line 257, in encode
    result = encoder.encode(*args, **kwargs)

  File "/usr/lib/python2.4/site-packages/Djblets-0.6.11-py2.4.egg/
djblets/webapi/encoders.py", line 14, in encode
    return list(o)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
db/models/query.py", line 84, in __len__
    self._result_cache.extend(self._iter)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
db/models/query.py", line 273, in iterator
    for row in compiler.results_iter():

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
db/models/sql/compiler.py", line 680, in results_iter
    for rows in self.execute_sql(MULTI):

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
db/models/sql/compiler.py", line 735, in execute_sql
    cursor.execute(sql, params)

  File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/
db/backends/mysql/base.py", line 86, in execute
    return self.cursor.execute(query, args)

  File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 174, in
execute

  File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 36,
in defaulterrorhandler

OperationalError: (1267, "Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation 'like'")

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to