Traceback (most recent call last):

 "/usr/local/bin/x_x", line 9, in <module>
load_entry_point('x-x==0.8', 'console_scripts', 'x_x')()

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/x_x/x_x.py", line 46, in cli
asciitable.draw(XCursor(sheet, heading), out=out)

 "/usr/local/lib/python2.7/dist-packages/x_x/asciitable.py", line 126, in draw
heading_sizes = [len(str(x)) for x in headings]UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Traceback (most recent call last):

 "bug.py", line 18, in <module>
print [res.get(propagate=False) for res in results]

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/result.py", line 108, in get
interval=interval)

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/base.py", line 179, in wait_for
status = self.get_status(task_id)

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/base.py", line 295, in get_status
return self.get_task_meta(task_id)['status']

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/base.py", line 323, in get_task_meta
meta = self._get_task_meta_for(task_id)

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/mongodb.py", line 133, in _get_task_meta_for
obj = self.collection.find_one({'_id': task_id})

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/kombu/utils/__init__.py", line 294, in __get__
value = obj.__dict__[self.__name__] = self.__get(obj)

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/mongodb.py", line 217, in collection
collection = self.database[self.mongodb_taskmeta_collection]

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/kombu/utils/__init__.py", line 294, in __get__
value = obj.__dict__[self.__name__] = self.__get(obj)

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/mongodb.py", line 212, in database
return self._get_database()

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/mongodb.py", line 199, in _get_database
conn = self._get_connection()

 "/home/ionel/projects/celery-bug-1118/ve/local/lib/python2.7/site-packages/celery/backends/mongodb.py", line 107, in _get_connection
*args, **dict(kwargs, self.mongodb_options)TypeError: dict expected at most 1 arguments, got 2