lehmannro / pyhkal2

IRC bot with bling bling
7 stars 2 forks source link

IRC multi-channel facilities are a miserable failure #7

Closed Janno closed 14 years ago

Janno commented 14 years ago

THIS IS OUTRAGEOUS!!!11 WHY DID I PAY MONEY FOR THIS CRAP????///

Problem: 2010-08-25 00:49:20+0200 [IRCClient,client] Unhandled Error Traceback (most recent call last): File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, _args, _kw) File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, _args, _kw) File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, _args, _kw) File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/python/context.py", line 37, in callWithContext return func(args,kw) --- --- File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/internet/tcp.py", line 460, in doRead return self.protocol.dataReceived(data) File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/words/protocols/irc.py", line 2279, in dataReceived basic.LineReceiver.dataReceived(self, data.replace('\r', '')) File "/home/pyhkal/pyhkal2/var/lib/python2.6/site-packages/twisted/protocols/basic.py", line 251, in dataReceived why = self.lineReceived(line) File "/home/pyhkal/pyhkal2/contrib/irc.py", line 406, in lineReceived d, target = self.whocalls[ID] exceptions.KeyError: 2

Fixed by: pulling pyhkal out of all but one channel

THIS IS WHY WE CAN'T HAVE NICE THINGS!

lehmannro commented 14 years ago

Fixed in f911a7d0cde5d77ba4a7916071e67526061872a1.