Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.99 KB | None | 0 0
  1. C:\Users\User\AppData\Local\Programs\Python\Python36-32\python.exe C:/Users/User/PycharmProjects/tele/main.py
  2. Traceback (most recent call last):
  3.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 137, in _parse_key
  4.     return self._phone_id[phone]
  5. KeyError: '9725xxxx674'
  6.  
  7. The above exception was the direct cause of the following exception:
  8.  
  9. Traceback (most recent call last):
  10.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 159, in __getitem__
  11.     return self._entities[self._parse_key(key)]
  12.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 141, in _parse_key
  13.     raise ValueError() from e
  14. ValueError
  15.  
  16. The above exception was the direct cause of the following exception:
  17.  
  18. Traceback (most recent call last):
  19.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 968, in _get_entity_from_string
  20.     return self.session.entities[entity]
  21.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\tl\entity_database.py", line 161, in __getitem__
  22.     raise KeyError(key) from e
  23. KeyError: '972xxxxx674'
  24.  
  25. During handling of the above exception, another exception occurred:
  26.  
  27. Traceback (most recent call last):
  28.   File "C:/Users/User/PycharmProjects/tele/main.py", line 45, in <module>
  29.     da = client.get_entity(phone)
  30.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 949, in get_entity
  31.     return self._get_entity_from_string(entity)
  32.   File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\telethon\telegram_client.py", line 971, in _get_entity_from_string
  33.     'Could not find user with username {}'.format(entity)
  34. ValueError: Could not find user with username 972xxxx74
  35.  
  36. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement