Giter VIP home page Giter VIP logo

denicer's People

Contributors

tmick0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

denicer's Issues

fix utf8 decode crash

lq@hivemind:~/denicer$ python main.py irc irc.wetfish.net +6697 '#wetfish' denicer
No handlers could be found for logger "jaraco.stream.buffer"
Traceback (most recent call last):
  File "main.py", line 37, in <module>
    sys.exit(main(*sys.argv[1:]))
  File "main.py", line 18, in main
    bot.start()
  File "/usr/local/lib/python2.7/dist-packages/irc/bot.py", line 328, in start
    super(SingleServerIRCBot, self).start()
  File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 1249, in start
    self.reactor.process_forever()
  File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 278, in process_forever
    self.process_once(timeout)
  File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 259, in process_once
    self.process_data(i)
  File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 216, in process_data
    c.process_data()
  File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 579, in process_data
    for line in self.buffer:
  File "/usr/local/lib/python2.7/dist-packages/jaraco/stream/buffer.py", line 104, in lines
    self.handle_exception()
  File "/usr/local/lib/python2.7/dist-packages/jaraco/stream/buffer.py", line 102, in lines
    yield line.decode(self.encoding, self.errors)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb7 in position 66: invalid start byte

looks like it's going on in the irc library rather than our own code... hopefully we're just missing some kind of config option

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.