Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\User\AppData\Local\Programs\Python\Python36-32\python.exe C:/Users/User/PycharmProjects/tele/main.py
- Traceback (most recent call last):
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 137, in _parse_key
- return self._phone_id[phone]
- KeyError: '9725xxxx674'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 159, in __getitem__
- return self._entities[self._parse_key(key)]
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 141, in _parse_key
- raise ValueError() from e
- ValueError
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 968, in _get_entity_from_string
- return self.session.entities[entity]
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 161, in __getitem__
- raise KeyError(key) from e
- KeyError: '972xxxxx674'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:/Users/User/PycharmProjects/tele/main.py", line 45, in <module>
- da = client.get_entity(phone)
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 949, in get_entity
- return self._get_entity_from_string(entity)
- File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 971, in _get_entity_from_string
- 'Could not find user with username {}'.format(entity)
- ValueError: Could not find user with username 972xxxx74
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement