tykling / amqpirc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jianingy/amqpirc
Python script to listen to an AMQP/RabbitMQ exchange and output messages to IRC
This project forked from jianingy/amqpirc
Python script to listen to an AMQP/RabbitMQ exchange and output messages to IRC
Traceback (most recent call last):
File "./amqpircbot.py", line 758, in
init_bot(cfglist[0])
File "./amqpircbot.py", line 745, in init_bot
ircclient = IRCClient(cfgobj.ircoptions,cfgobj,amqphandler)
File "./amqpircbot.py", line 446, in init
self.queuesend()
File "./amqpircbot.py", line 650, in queuesend
self.ircconsoleoutput("Socket exception sending to IRC, type: %s exception message: %s" % (str(type(e)),e.strerror))
AttributeError: 'exceptions.UnicodeEncodeError' object has no attribute 'strerror'
./amqpircbot.py:702: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if (line[2]==self.ircchannel and line[3]==u':%s:' % self.botnick):
Traceback (most recent call last):
File "./amqpircbot.py", line 758, in
init_bot(cfglist[0])
File "./amqpircbot.py", line 745, in init_bot
ircclient = IRCClient(cfgobj.ircoptions,cfgobj,amqphandler)
File "./amqpircbot.py", line 416, in init
self.handlecmds()
File "./amqpircbot.py", line 720, in handlecmds
self.ircconsoleoutput("IRC command from %s received: %s" % (self.sendernick,fullcommand))
File "./amqpircbot.py", line 612, in ircconsoleoutput
consoleoutput("%s: %s" % (self.botnick, message))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)
Unhandled exception in thread started by <function init_threadbot at 0x8049916e0>
Traceback (most recent call last):
File "./amqpircbot.py", line 736, in init_threadbot
ircclient = IRCClient(cfgobj.ircoptions,cfgobj,amqph)
File "./amqpircbot.py", line 446, in init
self.queuesend()
File "./amqpircbot.py", line 650, in queuesend
self.ircconsoleoutput("Socket exception sending to IRC, type: %s exception message: %s" % (str(type(e)),e.strerror))
AttributeError: 'exceptions.UnicodeEncodeError' object has no attribute 'strerror'
Traceback (most recent call last):
Unhandled exception in thread started by
Traceback (most recent call last):
File "./amqpircbot.py", line 730, in init_threadbot
File "./amqpircbot.py", line 752, in
ircclient = IRCClient(cfgobj.ircoptions,cfgobj,amqph)
init_bot(cfglist[0])
File "./amqpircbot.py", line 425, in init
self.readirc()
File "./amqpircbot.py", line 739, in init_bot
ircclient = IRCClient(cfgobj.ircoptions,cfgobj,amqphandler)
File "./amqpircbot.py", line 610, in readirc
buf = self.s.recv(1024)
File "./amqpircbot.py", line 425, in init
self.readirc()
File "/usr/local/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "./amqpircbot.py", line 610, in readirc
buf = self.s.recv(1024)
File "/usr/local/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
File "/usr/local/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
socket. File "/usr/local/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
errorsocket.error: [Errno 60] Operation timed out: [Errno 60] Operation timed out
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.