tdryer / hangups

the first third-party instant messaging client for Google Hangouts
https://hangups.readthedocs.io/
MIT License
1.71k stars 189 forks source link

UnicodeDecodeError #493

Open convict-git opened 4 years ago

convict-git commented 4 years ago

Can someone help with this error? This happens when I open certain chats (not with all).


Traceback (most recent call last):                           
  File "/usr/local/bin/hangups", line 11, in <module>
    load_entry_point('hangups==0.4.10', 'console_scripts', 'han
gups')()
  File "/usr/local/lib/python3.8/dist-packages/hangups-0.4.10-p
y3.8.egg/hangups/ui/__main__.py", line 1204, in main
  File "/usr/local/lib/python3.8/dist-packages/hangups-0.4.10-p
y3.8.egg/hangups/ui/__main__.py", line 152, in __init__
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/home/convict/.local/lib/python3.8/site-packages/urwid/
main_loop.py", line 1289, in faux_idle_callback
    callback()
  File "/home/convict/.local/lib/python3.8/site-packages/urwid/
main_loop.py", line 564, in entering_idle
    self.draw_screen()
  File "/home/convict/.local/lib/python3.8/site-packages/urwid/
main_loop.py", line 579, in draw_screen
    self.screen.draw_screen(self.screen_size, canvas)
  File "/home/convict/.local/lib/python3.8/site-packages/urwid/
raw_display.py", line 838, in draw_screen
    l = l.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in pos
ition 6: invalid start byte