Open CraigBlaylock opened 6 years ago
The same trouble for me.
Python version: 3.6.5
It seems to happen because of telethon update: https://github.com/LonamiWebs/Telethon/issues/822
omg TelegramTUI is completely broken with latest Telethon. They are using async
features now.
pip install telethon==0.19.1.6
Working solution.
Thanks for reporting, I will refactor the code in the near future.
root@Bubo:~/TelegramTUI# ./telegramTUI
Traceback (most recent call last):
File "./telegramTUI", line 2, in
from src.ui import App
File "/root/TelegramTUI/src/ui.py", line 2, in
from src.MainForm import MainForm
File "/root/TelegramTUI/src/MainForm.py", line 4, in
from src.telegramApi import client
File "/root/TelegramTUI/src/telegramApi.py", line 200, in
client = TelegramApi()
File "/root/TelegramTUI/src/telegramApi.py", line 46, in init
spawn_read_thread=True, proxy=proxy)
TypeError: init() got an unexpected keyword argument 'spawn_read_thread'
root@Bubo:~/TelegramTUI# sudo ./telegramTUI
Traceback (most recent call last):
File "./telegramTUI", line 2, in
from src.ui import App
File "/root/TelegramTUI/src/ui.py", line 2, in
from src.MainForm import MainForm
File "/root/TelegramTUI/src/MainForm.py", line 4, in
from src.telegramApi import client
File "/root/TelegramTUI/src/telegramApi.py", line 200, in
client = TelegramApi()
File "/root/TelegramTUI/src/telegramApi.py", line 46, in init
spawn_read_thread=True, proxy=proxy)
TypeError: init() got an unexpected keyword argument 'update_workers'
Let me know if there's anything I can provide to assist in troubleshooting.