Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on startup, telegramApi.py line 46 #23

Open
CraigBlaylock opened this issue Jul 20, 2018 · 5 comments
Open

Crashes on startup, telegramApi.py line 46 #23

CraigBlaylock opened this issue Jul 20, 2018 · 5 comments

Comments

@CraigBlaylock
Copy link

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.

@and-semakin
Copy link

and-semakin commented Jul 21, 2018

The same trouble for me.
default

Python version: 3.6.5

@and-semakin
Copy link

It seems to happen because of telethon update:
LonamiWebs/Telethon#822

@and-semakin
Copy link

omg TelegramTUI is completely broken with latest Telethon. They are using async features now.

@and-semakin
Copy link

and-semakin commented Jul 21, 2018

pip install telethon==0.19.1.6

Working solution.

@vtr0n
Copy link
Owner

vtr0n commented Jul 25, 2018

Thanks for reporting, I will refactor the code in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants