when a user attempts to join a channel with the enter command the below error is printed.
-> PRIVMSG from Backslash: enter #FLO-Admins Backslash w45gvbtvrthvrgh
-> User(nickname) Backslash executed the 'enter' command to enter #Admins. Given username: Backslash
-> enter Command Result: MATCH
-> Changing host and identity for Backslash
Traceback (most recent call last):
File "/home/karlis/zookeeper/zookeeper.py", line 794, in
bot.start() # Start the IRC bot
File "/home/karlis/zookeeper/ircbot.py", line 247, in start
SimpleIRCClient.start(self)
File "/home/karlis/zookeeper/irclib.py", line 1114, in start
self.ircobj.process_forever()
File "/home/karlis/zookeeper/irclib.py", line 229, in process_forever
self.process_once(timeout)
File "/home/karlis/zookeeper/irclib.py", line 214, in process_once
self.process_data(i)
File "/home/karlis/zookeeper/irclib.py", line 183, in process_data
c.process_data()
File "/home/karlis/zookeeper/irclib.py", line 581, in process_data
self._handle_event(Event(command, prefix, target, [m]))
File "/home/karlis/zookeeper/irclib.py", line 604, in _handle_event
self.irclibobj._handle_event(self, event)
File "/home/karlis/zookeeper/irclib.py", line 325, in _handle_event
if handler[1](connection, event) == "NO MORE":
File "/home/karlis/zookeeper/irclib.py", line 1049, in _dispatcher
getattr(self, m)(c, e)
File "/home/karlis/zookeeper/zookeeper.py", line 626, in on_privmsg
ircprivs = getIRCPrivs(sent_userval)
File "/home/karlis/zookeeper/zookeeper.py", line 360, in getIRCPrivs
print "-> The [MySQL users_info] IRC privlege for " + user + " is " + IRCPrivCmds[str(ircprivs)]
KeyError: ''
Not sure why this error is occurring. The db has been populated with the correct information.
when a user attempts to join a channel with the enter command the below error is printed.
-> PRIVMSG from Backslash: enter #FLO-Admins Backslash w45gvbtvrthvrgh
-> User(nickname) Backslash executed the 'enter' command to enter #Admins. Given username: Backslash
-> enter Command Result: MATCH
-> Changing host and identity for Backslash
Traceback (most recent call last):
File "/home/karlis/zookeeper/zookeeper.py", line 794, in
bot.start() # Start the IRC bot
File "/home/karlis/zookeeper/ircbot.py", line 247, in start
SimpleIRCClient.start(self)
File "/home/karlis/zookeeper/irclib.py", line 1114, in start
self.ircobj.process_forever()
File "/home/karlis/zookeeper/irclib.py", line 229, in process_forever
self.process_once(timeout)
File "/home/karlis/zookeeper/irclib.py", line 214, in process_once
self.process_data(i)
File "/home/karlis/zookeeper/irclib.py", line 183, in process_data
c.process_data()
File "/home/karlis/zookeeper/irclib.py", line 581, in process_data
self._handle_event(Event(command, prefix, target, [m]))
File "/home/karlis/zookeeper/irclib.py", line 604, in _handle_event
self.irclibobj._handle_event(self, event)
File "/home/karlis/zookeeper/irclib.py", line 325, in _handle_event
if handler[1](connection, event) == "NO MORE":
File "/home/karlis/zookeeper/irclib.py", line 1049, in _dispatcher
getattr(self, m)(c, e)
File "/home/karlis/zookeeper/zookeeper.py", line 626, in on_privmsg
ircprivs = getIRCPrivs(sent_userval)
File "/home/karlis/zookeeper/zookeeper.py", line 360, in getIRCPrivs
print "-> The [MySQL users_info] IRC privlege for " + user + " is " + IRCPrivCmds[str(ircprivs)]
KeyError: ''
Not sure why this error is occurring. The db has been populated with the correct information.