palfrey/nih — Issue #8: MySQL doesn't like some unicode...
Author: palfrey
Created: 2011-10-20 17:48:01+00:00
State: open

[Thu Oct 20 18:03:36 2011] [error] Exception in thread Thread-1:
[Thu Oct 20 18:03:36 2011] [error] Traceback (most recent call last):
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
[Thu Oct 20 18:03:36 2011] [error] self.run()
[Thu Oct 20 18:03:36 2011] [error] File "/usr/share/nih/utils.py", line 63, in run
[Thu Oct 20 18:03:36 2011] [error] self.processItem(item)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/share/nih/jukebox/downloader.py", line 14, in processItem
[Thu Oct 20 18:03:36 2011] [error] cached(item)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/share/nih/jukebox/cache.py", line 31, in cached
[Thu Oct 20 18:03:36 2011] [error] item.save()
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/models/base.py", line 458, in save
[Thu Oct 20 18:03:36 2011] [error] self.save_base(using=using, force_insert=force_insert, force_update=force_update)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/models/base.py", line 524, in save_base
[Thu Oct 20 18:03:36 2011] [error] rows = manager.using(using).filter(pk=pk_val)._update(values)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 502, in _update
[Thu Oct 20 18:03:36 2011] [error] return query.get_compiler(self.db).execute_sql(None)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 866, in execute_sql
[Thu Oct 20 18:03:36 2011] [error] cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 732, in execute_sql
[Thu Oct 20 18:03:36 2011] [error] cursor.execute(sql, params)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/backends/util.py", line 15, in execute
[Thu Oct 20 18:03:36 2011] [error] return self.cursor.execute(sql, params)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/django/db/backends/mysql/base.py", line 86, in execute
[Thu Oct 20 18:03:36 2011] [error] return self.cursor.execute(query, args)
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/MySQLdb/cursors.py", line 168, in execute
[Thu Oct 20 18:03:36 2011] [error] if not self._defer_warnings: self._warning_check()
[Thu Oct 20 18:03:36 2011] [error] File "/usr/lib/pymodules/python2.7/MySQLdb/cursors.py", line 82, in _warning_check
[Thu Oct 20 18:03:36 2011] [error] warn(w[-1], self.Warning, 3)
[Thu Oct 20 18:03:36 2011] [error] Warning: Incorrect string value: '\\xD0\\x90\\xD1\\x80\\xD0\\xBA...' for column 'artist' at row 1