TelegramTUI icon indicating copy to clipboard operation
TelegramTUI copied to clipboard

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

Open vovoka opened this issue 6 years ago • 2 comments

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'

vovoka avatar May 04 '19 15:05 vovoka

I get this as well after installing all the dependencies.

Tylerwbrown avatar Jun 05 '19 05:06 Tylerwbrown

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.

Tylerwbrown avatar Jun 05 '19 05:06 Tylerwbrown