Hi.
I've a problem with
!clear command. Sometimes when I run it it's fails.
I get this error:
090519 21:31:06 CONSOLE 0:24 say: 5 BidonLoco: !clear
090519 21:31:06 VERBOSE Client Found: BidonLoco
090519 21:31:06 VERBOSE Queueing event Say !clear
090519 21:31:06 VERBOSE Parsing Event: Say: CensorurtPlugin
090519 21:31:06 VERBOSE Parsing Event: Say: SpamcontrolPlugin
090519 21:31:06 VERBOSE Parsing Event: Say: AdminPlugin
090519 21:31:06 DEBUG AdminPlugin: OnSay handle 5:"!clear"
090519 21:31:06 DEBUG AdminPlugin: Handle command !clear
090519 21:31:06 DEBUG Storage: getClientPenalties <b3.clients.Client object at 0x85b61cc>
090519 21:31:06 DEBUG Storage: setClient <b3.clients.Client object at 0x85b61cc>
090519 21:31:06 DEBUG Storage: setClient data {'time_add': 1242761181, 'time_edit': 1255761333, 'name': 'thefrenchkiller', 'group_bits': 0, 'ip': 'xx.xx.xx.xx', 'auto_login': 1, 'greeting': '', 'pbid': '', 'connections': 1, 'mask_level': 0, 'guid': 'ADC33444E28AB4B4434555E1BDAC9E780', 'id': 74}
090519 21:31:06 DEBUG Storage: getClientPenalties <b3.clients.Client object at 0x85b66ec>
090519 21:31:06 DEBUG Storage: setClient <b3.clients.Client object at 0x85b66ec>
090519 21:31:06 DEBUG Storage: setClient data {'time_add': 1242747587, 'time_edit': 1255761333, 'name': 'lokook', 'group_bits': 8, 'ip': 'xx.xx.xx.xx', 'auto_login': 1, 'greeting': '', 'pbid': '', 'connections': 8, 'mask_level': 0, 'guid': '6741233191FB049000316328ED2B489F', 'id': 48}
090519 21:31:06 DEBUG Storage: getClientPenalties <b3.clients.Client object at 0x85b3c8c>
090519 21:31:06 DEBUG Storage: setClient <b3.clients.Client object at 0x85b3c8c>
090519 21:31:06 DEBUG Storage: setClient data {'time_add': 1242463353, 'time_edit': 1255761333, 'name': 'BidonLoco', 'group_bits': 128, 'ip': 'xx.xx.xx.xx', 'auto_login': 1, 'greeting': '', 'pbid': '', 'connections': 49, 'mask_level': 0, 'guid': '234A25237345E930E9BB1A37DDA61229', 'id': 2}
090519 21:31:06 DEBUG Storage: getClientPenalties <b3.clients.Client object at 0x85bb36c>
090519 21:31:06 DEBUG Storage: getClient <b3.clients.Client object at 0x85bb98c>
090519 21:31:06 VERBOSE RCON sending (127.0.0.1:27960) tell 5 ^0(^2b3^0)^7: ^3[pm]^7 ^7There was an error processing your command
090519 21:31:06 ERROR handler AdminPlugin could not handle event Say: KeyError: 'No client matching guid ' [('/home/comoutx/urbanterror/BigBrotherBot/b3/parser.py', 521, 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugin.py', 129, 'parseEvent', 'self.onEvent(event)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugin.py', 147, 'onEvent', 'self.handle(event)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugins/admin.py', 120, 'handle', 'self.OnSay(event)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugins/admin.py', 252, 'OnSay', 'results = command.execute(data, event.client)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugins/admin.py', 2058, 'execute', 'self.func(data, client, copy.copy(self))'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugins/admin.py', 542, 'cmd_clear', 'self.clearAll(c, client)'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/plugins/admin.py', 548, 'clearAll', 'admin = self.console.storage.getClient(clients.Client(id=w.adminId))'), ('/home/comoutx/urbanterror/BigBrotherBot/b3/storage.py', 293, 'getClient', "raise KeyError, 'No client matching guid %s' % client.guid")]
090519 21:31:06 CONSOLE 0:25 ------------------------------------------------------------
How can i fix it?
Thanks!