Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

Crash on startup with Unicode-related error #81

Closed yankcrime closed 13 years ago

yankcrime commented 13 years ago

tyrs crashes on startup with an error related to Unicode:

$ tyrs Traceback (most recent call last): File "/usr/local/bin/tyrs", line 5, in pkg_resources.run_script('tyrs==0.4.0.1', 'tyrs') File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 489, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 1214, in run_script exec script_code in namespace, namespace File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/EGG-INFO/scripts/tyrs", line 16, in

File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/tyrs.py", line 62, in main File "/usr/local/lib/python2.7/curses/wrapper.py", line 43, in wrapper return func(stdscr, _args, *_kwds) File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/tyrs.py", line 69, in init_tyrs File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/tyrs.py", line 82, in init_interface File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/interface.py", line 59, in init File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/interface.py", line 116, in first_update File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/interface.py", line 188, in display_timeline File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/interface.py", line 276, in display_status File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/interface.py", line 437, in get_header File "/usr/local/lib/python2.7/site-packages/tyrs-0.4.0.1-py2.7.egg/src/utils.py", line 35, in encode UnicodeEncodeError: 'ascii' codec can't encode character u'\u2709' in position 14: ordinal not in range(128)

yankcrime commented 13 years ago

Never mind, I see this error has already been addressed!

Nic0 commented 13 years ago

I should be able to fix this one, It's not the same thing as the other unicode issues already opened. I'll give it a try on friday probably.