Skip to content

Instantly share code, notes, and snippets.

@pberry
Created December 23, 2010 17:56
Show Gist options
  • Save pberry/753306 to your computer and use it in GitHub Desktop.
Save pberry/753306 to your computer and use it in GitHub Desktop.
Supybot choking on wordstats
ERROR 2010-12-23T09:54:12 supybot Uncaught exception in ['wordstats'].
Traceback (most recent call last):
File "/home/pberry/lib/python2.4/site-packages/supybot/callbacks.py", line 1181, in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "/home/pberry/lib/python2.4/site-packages/supybot/utils/python.py", line 86, in g
f(self, *args, **kwargs)
File "/home/pberry/supybot/plugins/WordStats/plugin.py", line 174, in callCommand
return self.__parent.callCommand(*args, **kwargs)
File "/home/pberry/lib/python2.4/site-packages/supybot/utils/python.py", line 86, in g
f(self, *args, **kwargs)
File "/home/pberry/lib/python2.4/site-packages/supybot/callbacks.py", line 1167, in callCommand
method(irc, msg, *args, **kwargs)
File "/home/pberry/lib/python2.4/site-packages/supybot/commands.py", line 917, in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File "/home/pberry/supybot/plugins/WordStats/plugin.py", line 253, in wordstats
total = self.db.getTotalWordCount(channel, word)
File "/home/pberry/supybot/plugins/WordStats/plugin.py", line 84, in getTotalWordCount
return self.channelWords[channel][word]
KeyError: 'hitler'
ERROR 2010-12-23T09:54:12 supybot Exception id: 0xce4e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment