Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.32 KB | None | 0 0
  1. 2017-03-25 16:45:47,032 - telegram.ext.dispatcher - ERROR - An uncaught error w
  2. s raised while processing the update
  3. Traceback (most recent call last):
  4.   File "build\bdist.win32\egg\telegram\ext\dispatcher.py", line 266, in process
  5. update
  6.     handler.handle_update(update, self)
  7.   File "build\bdist.win32\egg\telegram\ext\commandhandler.py", line 128, in han
  8. le_update
  9.     return self.callback(dispatcher.bot, update, **optional_args)
  10.   File "fenikkubot.py", line 44, in answer
  11.     update.message.reply_text('15+18 quanto fa?!? COGLIONE!!', reply_markup=rep
  12. y_markup)
  13.   File "build\bdist.win32\egg\telegram\message.py", line 321, in reply_text
  14.     return self.bot.sendMessage(self.chat_id, *args, **kwargs)
  15.   File "build\bdist.win32\egg\telegram\bot.py", line 125, in decorator
  16.     result = func(self, *args, **kwargs)
  17.   File "build\bdist.win32\egg\telegram\bot.py", line 147, in decorator
  18.     data['reply_markup'] = reply_markup.to_json()
  19.   File "build\bdist.win32\egg\telegram\base.py", line 62, in to_json
  20.     return json.dumps(self.to_dict())
  21.   File "build\bdist.win32\egg\telegram\inlinekeyboardmarkup.py", line 69, in to
  22. dict
  23.     data['inline_keyboard'].append([x.to_dict() for x in inline_keyboard])
  24.   File "build\bdist.win32\egg\telegram\base.py", line 38, in __getitem__
  25.     return self.__dict__[item]
  26. KeyError: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement