toxinu / leselys

I'm Leselys, your very elegant RSS reader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicode issue

debunge opened this issue · comments

For RSS feeds with Russian text I'm constantly getting this:

Traceback (most recent call last):
File "/root/leselys/local/lib/python2.7/site-packages/celery/utils/log.py", line 96, in format
record.msg = str_t(color(safe_str(msg)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 10: ordinal not in range(128)

Dependencies

python (2.7.3)
celery (3.0.20)
flask (0.10.1)
leselys (0.2.4)
werkzeug (0.9.1)
requests (1.2.3)

Configuration

Storage: mongodb
Session: memory

Are you using latest git version ?