This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task mysite.search.tasks.LookAtOneBugInPython (1fdc3016-fc9f-4126-b047-bd8cc831edc1): 'ascii' codec can't encode character u'\xf8' in position 7: ordinal not in range(128)

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Mon Feb 8 09:09:58 UTC 2010


Task mysite.search.tasks.LookAtOneBugInPython with id 1fdc3016-fc9f-4126-b047-bd8cc831edc1 raised exception: 'ascii' codec can't encode character u'\xf8' in position 7: ordinal not in range(128)


Task was called with args:[] kwargs:{'bug_id': 7876}.
The contents of the full traceback was:

Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/worker/job.py", line 84, in jail
    result = func(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/task/base.py", line 123, in __call__
    return self.run(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/search/tasks/__init__.py", line 93, in run
    bug.save()

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 410, in save
    self.save_base(force_insert=force_insert, force_update=force_update)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 495, in save_base
    result = manager._insert(values, return_id=update_pk)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/manager.py", line 177, in _insert
    return insert_query(self.model, values, **kwargs)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 1087, in insert_query
    return query.execute_sql(return_id)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/sql/subqueries.py", line 320, in execute_sql
    cursor = super(InsertQuery, self).execute_sql(None)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/sql/query.py", line 2369, in execute_sql
    cursor.execute(sql, params)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/backends/mysql/base.py", line 84, in execute
    return self.cursor.execute(query, args)

  File "/home/deploy/milestone-a.buildout/eggs/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/cursors.py", line 158, in execute
    query = query % db.literal(args)

  File "/home/deploy/milestone-a.buildout/eggs/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/connections.py", line 265, in literal
    return self.escape(o, self.encoders)

  File "/home/deploy/milestone-a.buildout/eggs/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/connections.py", line 198, in string_literal
    return db.string_literal(obj)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 7: ordinal not in range(128)


-- 
Just thought I'd let you know!
celeryd at linode.openhatch.org.


More information about the Devel mailing list