Nic0 / tyrs

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

tyrs crashes when pressing «?» #48

Closed bacardi55 closed 13 years ago

bacardi55 commented 13 years ago

I update tyrs this morning, and I get an error pressing «?». Plus ^l doesn't seem to work anymore. Here's the error : (i tried the tyrs and tyrs-git paquet in aur)

[bacardi55@daimadoshi ~]% tyrs (10:53) Traceback (most recent call last): File "/usr/bin/tyrs", line 16, in main() File "/usr/lib/python2.7/site-packages/tyrs/tyrs.py", line 61, in main curses.wrapper(init_tyrs) File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper return func(stdscr, _args, *_kwds) File "/usr/lib/python2.7/site-packages/tyrs/tyrs.py", line 69, in init_tyrs init_thread() File "/usr/lib/python2.7/site-packages/tyrs/tyrs.py", line 95, in init_thread init_keys() File "/usr/lib/python2.7/site-packages/tyrs/tyrs.py", line 100, in init_keys Keys().handleKeyBinding() File "/usr/lib/python2.7/site-packages/tyrs/keys.py", line 124, in handleKeyBinding Help() File "/usr/lib/python2.7/site-packages/tyrs/help.py", line 28, in init self.display_help_screen() File "/usr/lib/python2.7/site-packages/tyrs/help.py", line 37, in display_help_screen self.display_helpitem('up', ('Moves up')) File "/usr/lib/python2.7/site-packages/tyrs/help.py", line 98, in display_help_item scr.addstr(self.y, self.col[2], description, color) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

Nic0 commented 13 years ago

This come from the french translation, I tried it yesterday, but without it... Il fixed it tonight, (you may rm the /usr/share/locale/fr/LC_MESSAGE/tyrs.mo to desable quickly the translation)

Nic0 commented 13 years ago

(nevermind, i've fixed it now)

bacardi55 commented 13 years ago

thanks, that was quick :-)