Advertisement
st3p4nb01

Бот

Jun 5th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Users\Степан\Desktop\Новая папка\index.py", line 15, in <module>
  3. for event in longpoll.listen():
  4. File "C:\Users\Степан\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\bot_longpoll.py", line 274, in listen
  5. for event in self.check():
  6. File "C:\Users\Степан\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\bot_longpoll.py", line 253, in check
  7. for raw_event in response['updates']
  8. File "C:\Users\Степан\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\bot_longpoll.py", line 253, in <listcomp>
  9. for raw_event in response['updates']
  10. File "C:\Users\Степан\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\bot_longpoll.py", line 214, in _parse_event
  11. return event_class(raw_event)
  12. File "C:\Users\Степан\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\bot_longpoll.py", line 160, in __init__
  13. if self.obj.peer_id < 0:
  14. TypeError: '<' not supported between instances of 'NoneType' and 'int'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement