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

Request to add for channel existence verification... #56

Open
Juunjui opened this issue Jun 25, 2023 · 0 comments
Open

Request to add for channel existence verification... #56

Juunjui opened this issue Jun 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Juunjui
Copy link

Juunjui commented Jun 25, 2023

Hello, I tried telephaty and made a mistake of mistyping the name of a chat...
looks like when the chat doesn't exist the "total_participants" is returned as a string "no" which is handled as an error by 'int()'

I received the following error:

 [!] Performing comprehensive scan
 [-] Fetching details for [REDACTED]...
Traceback (most recent call last):
  File "/home/[REDACTED]/.local/bin/telepathy", line 8, in <module>
    sys.exit(cli())
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/telepathy/telepathy.py", line 1745, in cli
    client.loop.run_until_complete(main())
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/home/[REDACTED]/.local/lib/python3.9/site-packages/telepathy/telepathy.py", line 555, in main
    int(found_participants) / int(total_participants) * 100.
ValueError: invalid literal for int() with base 10: 'no'

@proseltd proseltd added the bug Something isn't working label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants