Создал бота для вк на VkBotLongPoll, VkBotEventType и выдает ошибку:
for event in longpoll.listen():
print(event)
Traceback (most recent call last):
File "H:/Job/Python/VkNewBot/Main.py", line 33, in <module>
for event in longpoll.listen():
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\vk_api\bot_longpoll.py", line 274, in listen
for event in self.check():
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\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\Python35\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\Python35\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\Python35\lib\site-packages\vk_api\bot_longpoll.py", line 160, in __init__
if self.obj.peer_id < 0:
TypeError: unorderable types: NoneType() < int()