lepinkainen / pyfibot

Pyfibot the Python IRC bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnicodeDecodeError in module_urltitle

gestra opened this issue · comments

http://www.youtube.com/watch?v=vaRs3DpCXuA produces the following error message:

[2014-01-13 18:51:03,239][ERROR    ][bot            ]  ERROR [Failure instance: Traceback: <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
/usr/lib/python2.6/threading.py:504:__bootstrap
/usr/lib/python2.6/threading.py:532:__bootstrap_inner
/usr/lib/python2.6/threading.py:484:run
--- <exception caught here> ---
/home/users/terol/pyfibot/lib/python2.6/site-packages/twisted/python/threadpool.py:172:_worker
/home/users/terol/pyfibot/lib/python2.6/site-packages/twisted/python/context.py:118:callWithContext
/home/users/terol/pyfibot/lib/python2.6/site-packages/twisted/python/context.py:81:callWithContext
/home/users/terol/pyfibot/pyfibot/modules/module_urltitle.py:178:handle_url
/home/users/terol/pyfibot/pyfibot/modules/module_urltitle.py:446:_handle_youtube_gdata
] handler handle_url error

Works with current version. Please comment if you can still reproduce this.