Nanoseb / ncTelegram

A ncurse Telegram client developed in Python
GNU General Public License v3.0
311 stars 26 forks source link

Crash on startup #36

Closed nstetter closed 6 years ago

nstetter commented 6 years ago

Traceback (most recent call last): File "/bin/nctelegram", line 93, in ncTelegram.Telegram_ui(config_full) File "/usr/lib/python3.6/site-packages/ncTelegram/init.py", line 73, in init self.msg_widget = MessageWidget(self) File "/usr/lib/python3.6/site-packages/ncTelegram/ui_msgwidget.py", line 25, in init self.get_history() File "/usr/lib/python3.6/site-packages/ncTelegram/ui_msgwidget.py", line 60, in get_history self.print_msg(msg) File "/usr/lib/python3.6/site-packages/ncTelegram/ui_msgwidget.py", line 194, in print_msg self.focus_position = self.pos File "/usr/lib/python3.6/site-packages/urwid/listbox.py", line 578, in set_focus raise IndexError("Can't set focus, ListBox is empty") IndexError: Can't set focus, ListBox is empty Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python3.6/subprocess.py", line 843, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib/python3.6/subprocess.py", line 1499, in _communicate input_view = memoryview(self._input) TypeError: memoryview: a bytes-like object is required, not 'str' read: Connection reset by peer

System: Manjaro, 4.14.48

JohnJohnstone commented 6 years ago

looks like a duplicate of #31

itJunky commented 6 years ago

Have same error, but it different with https://github.com/Nanoseb/ncTelegram/issues/31

Nanoseb commented 6 years ago

duplicate of #39 , closing (fixed in master)