proseltd / Telepathy-Community

Public release of Telepathy, an OSINT toolkit for investigating Telegram chats.
MIT License
949 stars 133 forks source link

crashes at start on windows #58

Open zoldaten opened 1 year ago

zoldaten commented 1 year ago

hi! cant start after api, hash and mobile number asking - see this:

C:\Users\Al>telepathy -t durov
←[32m
      ______     __                 __  __
     /_  __/__  / /__  ____  ____ _/ /_/ /_  __  __
      / / / _ \/ / _ \/ __ \/ __ `/ __/ __ \/ / / /
     / / /  __/ /  __/ /_/ / /_/ / /_/ / / / /_/ /
    /_/  \___/_/\___/ .___/\__,_/\__/_/ /_/\__, /
                   /_/                    /____/
    -- An OSINT toolkit for investigating Telegram chats.
    -- Developed by @jordanwildon | Version 2.0.0.

←[0m
Traceback (most recent call last):
  File "c:\python3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\python3\Scripts\telepathy.exe\__main__.py", line 7, in <module>
  File "c:\python3\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python3\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python3\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python3\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python3\lib\site-packages\telepathy\telepathy.py", line 177, in cli
    client.sign_in(phone_number)
  File "c:\python3\lib\site-packages\telethon\sync.py", line 39, in syncified
    return loop.run_until_complete(coro)
  File "c:\python3\lib\asyncio\base_events.py", line 467, in run_until_complete
    return future.result()
  File "c:\python3\lib\site-packages\telethon\client\auth.py", line 330, in sign
_in
    return await self.send_code_request(phone)
  File "c:\python3\lib\site-packages\telethon\client\auth.py", line 461, in send
_code_request
    functions.auth.ResendCodeRequest(phone, phone_hash))
  File "c:\python3\lib\site-packages\telethon\client\users.py", line 30, in __ca
ll__
    return await self._call(self._sender, request, ordered=ordered)
  File "c:\python3\lib\site-packages\telethon\client\users.py", line 87, in _cal
l
    result = await future
telethon.errors.rpcerrorlist.SendCodeUnavailableError: Returned when all availab
le options for this type of number were already used (e.g. flash-call, then SMS,
 then this error might be returned to trigger a second resend) (caused by Resend
CodeRequest)