Ryan Fan
Ryan Fan
The source code looks like this: ``` class MainHandler(web.RequestHandler): @gen.coroutine def post(self): response = yield gen.Task(tasks.test.apply_async, args=['abcdefghi']) self.write(response) if __name__ == "__main__": totoro.setup_producer() agent = web.Application([(r'/', MainHandler),]) agent.listen(8080) ioloop.IOLoop.instance().start() ```...
File "", line 1, in File "/usr/lib/python2.6/site-packages/wordpress_xmlrpc/wordpress.py", line 51, in **repr** return '' % (self.**class**.**name**, str(self).encode('utf-8')) UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-11: ordinal not in range(128)