Nanoseb / ncTelegram

A ncurse Telegram client developed in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashing Upon Start

jonaburg opened this issue · comments

jon: nctelegram
Traceback (most recent call last):
File "/usr/bin/nctelegram", line 93, in
ncTelegram.Telegram_ui(config_full)
File "/usr/lib/python3.7/site-packages/ncTelegram/init.py", line 73, in init
self.msg_widget = MessageWidget(self)
File "/usr/lib/python3.7/site-packages/ncTelegram/ui_msgwidget.py", line 25, in init
self.get_history()
File "/usr/lib/python3.7/site-packages/ncTelegram/ui_msgwidget.py", line 60, in get_history
self.print_msg(msg)
File "/usr/lib/python3.7/site-packages/ncTelegram/ui_msgwidget.py", line 194, in print_msg
self.focus_position = self.pos
File "/usr/lib/python3.7/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.7/subprocess.py", line 920, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.7/subprocess.py", line 1643, in _communicate
input_view = memoryview(self._input)
TypeError: memoryview: a bytes-like object is required, not 'str'
read: Connection reset by peer


not sure what's causing this exactly, is something not linked right? all dependencies should be in.

Duplicate of #31