opsnet / hermes Goto Github PK
View Code? Open in Web Editor NEWA moduler IRC bot
A moduler IRC bot
[ERROR] Crash
Traceback (most recent call last):
File "/home/hermes/hermes/hermes/hermes.py", line 435, in run_hermes
hermes.start()
File "/usr/local/lib/python3.5/dist-packages/irc/bot.py", line 340, in start
super(SingleServerIRCBot, self).start()
File "/usr/local/lib/python3.5/dist-packages/irc/client.py", line 1198, in start
self.reactor.process_forever()
File "/usr/local/lib/python3.5/dist-packages/irc/client.py", line 851, in process_forever
consume(infinite_call(one))
File "/usr/local/lib/python3.5/dist-packages/more_itertools/recipes.py", line 160, in consume
deque(iterator, maxlen=0)
File "/usr/local/lib/python3.5/dist-packages/jaraco/itertools.py", line 413, in <genexpr>
return (f() for _ in itertools.repeat(None))
File "/usr/local/lib/python3.5/dist-packages/irc/client.py", line 832, in process_once
self.process_data(in_)
File "/usr/local/lib/python3.5/dist-packages/irc/client.py", line 796, in process_data
conn.process_data()
File "/usr/local/lib/python3.5/dist-packages/irc/client.py", line 276, in process_data
for line in self.buffer:
File "/usr/local/lib/python3.5/dist-packages/jaraco/stream/buffer.py", line 105, in lines
self.handle_exception()
File "/usr/local/lib/python3.5/dist-packages/jaraco/stream/buffer.py", line 103, in lines
yield line.decode(self.encoding, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 71: invalid start byte
Right now hermes will say nothing which can be confusing. A message like "Command not recognized. Type help to see list of commands." would be a lot better.
Sometimes, if hermes gets too flooded with messages at once, the socket connection will die. We need to ensure the healthiness of the socket, and if it's not healthy, restart it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.