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

Errorr during srarting the client [unexpected keyword argument 'update_workers'] #35

Open
vovoka opened this issue May 4, 2019 · 2 comments

Comments

@vovoka
Copy link

vovoka commented May 4, 2019

Errorr during srarting the client:

$ ./telegramTUI

>>> Traceback (most recent call last):
  File "./telegramTUI", line 2, in <module>
    from src.ui import App
  File "/home/vk/Code/Python/Telegram-bots/TelegramTUI/TelegramTUI/src/ui.py", line 2, in <module>
    from src.MainForm import MainForm
  File "/home/vk/Code/Python/Telegram-bots/TelegramTUI/TelegramTUI/src/MainForm.py", line 4, in <module>
    from src.telegramApi import client
  File "/home/vk/Code/Python/Telegram-bots/TelegramTUI/TelegramTUI/src/telegramApi.py", line 200, in <module>
    client = TelegramApi()
  File "/home/vk/Code/Python/Telegram-bots/TelegramTUI/TelegramTUI/src/telegramApi.py", line 46, in __init__
    spawn_read_thread=True, proxy=proxy)
TypeError: __init__() got an unexpected keyword argument 'update_workers'
@Tylerwbrown
Copy link

I get this as well after installing all the dependencies.

@Tylerwbrown
Copy link

Figured it out, even though I copy pasted the command, the wrong version of telethon was downloaded. I had to use pip3 to uninstall and reinstall the proper version (specified in the readme).

There was another error (no module named Image), this time occurring after the login message was sent. Doing pip3 install Pillow fixed that.

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

2 participants