telescan icon indicating copy to clipboard operation
telescan copied to clipboard

TypeError: Client.__init__() got an unexpected keyword argument 'config_file'

Open CoffeeNData opened this issue 1 year ago • 5 comments

It simply wont run. Command: python3 telescan.py api_creds.ini

Traceback (most recent call last):
  File "/home/user/telescan/telescan.py", line 10, in <module>
    app = Client(
TypeError: Client.__init__() got an unexpected keyword argument 'config_file'

CoffeeNData avatar Aug 03 '22 15:08 CoffeeNData

I am getting this error also.

└─$ python telescan.py api_creds.ini Traceback (most recent call last): File "/home/kali/apps/telescan/telescan.py", line 9, in app = Client( TypeError: Client.init() got an unexpected keyword argument 'config_file'

I tried python and python3 and the same error. I also had to install pip install TgCrypto, but I got the same error!

rangersmyth74 avatar Aug 04 '22 18:08 rangersmyth74

you know where is config_file ?

osinter456 avatar Aug 08 '22 08:08 osinter456

Same. Maybe, we should try to use an old pyrogram

bpavuk avatar Sep 19 '22 17:09 bpavuk

still no solution?

vtombez avatar Nov 29 '22 11:11 vtombez

The latest version released at the time of the last commit is:

  • https://github.com/pyrogram/pyrogram/releases/tag/v1.0.0

The next one, v1.1.0, was released in 12/2020. Backwards compatibility is not for granted

But now Pyrogram is v2.0.102

Yes

pielco11 avatar Mar 24 '23 10:03 pielco11