Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Python by artkolev ( 13 years ago )
{'q': u'\u0420\u044b\u0431\u043e\u043b\u043e\u0432\u043d. \u0441\u043d\u0430\u0441\u0442\u044c', 'a': u'\u0432\u0435\u0440\u0448\u0430'}
Exception in thread Skype4Py MessageStatus event scheduler:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/home/artkolev/test/viktorina_cis/env/local/lib/python2.7/site-packages/Skype4Py/utils.py", line 225, in run
    handler(*self.args, **self.kwargs)
  File "./bot.py", line 86, in run_action
    self.functions[command](self)
  File "./bot.py", line 135, in start_quiz
    self.new_question()
  File "./bot.py", line 123, in new_question
    new_quest['a'][-1])
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0432' in position 0: ordinal not in range(128)

 

Revise this Paste

Your Name: Code Language: