Coder Social home page Coder Social logo

bender's People

Contributors

bfirsh avatar keeb avatar metalivedev avatar narangkanika avatar samalba avatar souravsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bender's Issues

Fix regressions

Traceback (most recent call last):
  File "/home/dotcloud/current/bin/bender", line 14, in <module>
    bot.run()
  File "/home/dotcloud/current/bin/../lib/bender.py", line 49, in run
    irc.process_forever()
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 267, in process_forever
    self.process_once(timeout)
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 248, in process_once
    self.process_data(i)
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 213, in process_data
    c.process_data()
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 561, in process_data
    self._process_line(line)
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 629, in _process_line
    self._handle_event(Event(command, NickMask(prefix), target, [m]))
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 651, in _handle_event
    self.irclibobj._handle_event(self, event)
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 387, in _handle_event
    result = handler.callback(connection, event)
  File "/home/dotcloud/current/bin/../lib/bender.py", line 21, in print_callback
    u' '.join(ev.arguments),
UnicodeEncodeError: 'ascii' codec can't encode character u'\u25d4' in position 90: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/dotcloud/current/bin/bender", line 14, in <module>
    bot.run()
  File "/home/dotcloud/current/bin/../lib/bender.py", line 49, in run
    irc.process_forever()
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 267, in process_forever
    self.process_once(timeout)
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 247, in process_once
    (i, o, e) = select.select(sockets, [], [], timeout)
  File "/home/dotcloud/current/bin/../lib/plugins/pagerduty.py", line 57, in _announce_rotation
    user['name'].encode('utf8'), label))
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 855, in privmsg
    self.send_raw("PRIVMSG %s :%s" % (target, text))
  File "/home/dotcloud/env/lib/python2.6/site-packages/irc/client.py", line 878, in send_raw
    bytes = string.encode('utf-8') + b'\r\n'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 35: ordinal not in range(128)

UTF-8 issues

Crashing bender is pretty easy - use UTF-8 characters in your posts.

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.