myano / jenni

jenni was a python IRC bot. Project is closed. Try Sopel instead, https://sopel.chat/
https://sopel.chat/
Other
235 stars 101 forks source link

Jenni crashes on certain events (usually kicks) #80

Closed ctrlcctrlv closed 11 years ago

ctrlcctrlv commented 11 years ago

Here's a sample session:

Connecting to irc.whatbox.ca:6667... connected!
INDEXERROR #test
error: uncaptured python exception, closing channel <bot.Jenni connected at 0x7f61e6ba5290> (<type 'exceptions.IndexError'>:deque index out of range [/usr/lib/python2.7/asyncore.py|write|91] [/usr/lib/python2.7/asyncore.py|handle_write_event|466] [/usr/lib/python2.7/asynchat.py|handle_write|174] [/usr/lib/python2.7/asynchat.py|initiate_send|244])
Closed!
Warning: Disconnected. Reconnecting in 20 seconds...

When a user is kicked (not jenni), jenni inexplicably dies with the above error. It does not happen on every kick, but at least 50%. I thought this could have been one of my scripts, but I tested it on a stock jenni and it occurred as well.

I've seen this occur on irc.whatbox.ca (InspIRCd), but also on other servers as well (irc.irchighway.net with UltimateIRCd).

ctrlcctrlv commented 11 years ago

I have confirmed this to be a regression in jenni. This does not happen in phenny.