Coder Social home page Coder Social logo

kgb2's Introduction

kgb2

Kivy server for webhooks and irc emissions

kgb2's People

Contributors

keyweeusr avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kgb2's Issues

Fails to process github comments which contain emojis

@dessant

kgb_1        | Traceback (most recent call last):
kgb_1        |   File "/kgb/main.py", line 282, in pubsubhub
kgb_1        |     kgb.treat_signal_hub(request.headers.get('X-GitHub-Event'), loads(request.form['payload']))
kgb_1        |   File "/kgb/main.py", line 219, in treat_signal_hub
kgb_1        |     body = color(DEFAULT_COLOR, '* ' + self.shorten(body) + ' -')
kgb_1        |   File "/kgb/main.py", line 43, in color
kgb_1        |     return '\x03{0:>02}{1}\x0300'.format(n, msg)
kgb_1        | UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f60b' in position 41: ordinal not in range(128)
kgb_1        | [2016-12-12 13:31:20,213] ERROR in app: Exception on /orgevent [POST]
kgb_1        | Traceback (most recent call last):
kgb_1        |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
kgb_1        |     response = self.full_dispatch_request()
kgb_1        |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
kgb_1        |     rv = self.handle_user_exception(e)
kgb_1        |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
kgb_1        |     reraise(exc_type, exc_value, tb)
kgb_1        |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
kgb_1        |     rv = self.dispatch_request()
kgb_1        |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
kgb_1        |     return self.view_functions[rule.endpoint](**req.view_args)
kgb_1        |   File "/kgb/main.py", line 282, in pubsubhub
kgb_1        |     kgb.treat_signal_hub(request.headers.get('X-GitHub-Event'), loads(request.form['payload']))
kgb_1        |   File "/kgb/main.py", line 219, in treat_signal_hub
kgb_1        |     body = color(DEFAULT_COLOR, '* ' + self.shorten(body) + ' -')
kgb_1        |   File "/kgb/main.py", line 43, in color
kgb_1        |     return '\x03{0:>02}{1}\x0300'.format(n, msg)
kgb_1        | UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f60b' in position 41: ordinal not in range(128)
kgb_1        | 172.18.0.8 - - [12/Dec/2016 13:31:20] "POST /orgevent HTTP/1.1" 500 -

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.