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