forked from dkesada/SocialBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bot.log
41 lines (31 loc) · 1.78 KB
/
bot.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Pongo solo los errores
Borrar segun se solucionen
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/telepot/delegate.py", line 252, in wait_loop
j.on_message(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 630, in augmented
return handler(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 996, in on_message
self._router.route(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 972, in route
return fn(msg, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 981, in <lambda>
'callback_query': lambda msg: self.on_callback_query(msg),
File "./socialBot.py", line 149, in on_callback_query
self.loc = [option[1], option[2]]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/telepot/delegate.py", line 252, in wait_loop
j.on_message(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 630, in augmented
return handler(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 996, in on_message
self._router.route(msg)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 972, in route
return fn(msg, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/telepot/helper.py", line 981, in <lambda>
'callback_query': lambda msg: self.on_callback_query(msg),
File "./socialBot.py", line 174, in on_callback_query
bot.sendPhoto(from_id, info['photos'][int(query_data)], reply_markup=keyboards.photos(info, int(query_data)))
ValueError: invalid literal for int() with base 10: 'init'
ERROR:root:on_close() called due to ValueError: invalid literal for int() with base 10: 'init'