Closed paris-ci closed 9 years ago
[15:55:14] [INFO] [harmony] >> JOIN :#♯
[15:55:14] [ERROR] Error in hook log:log
Traceback (most recent call last):
File "/home/cloudbot/CloudBot/cloudbot/plugin.py", line 376, in _execute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/cloudbot/CloudBot/cloudbot/plugin.py", line 340, in _execute_hook_threaded
return hook.function(*parameters)
File "/home/cloudbot/CloudBot/plugins/log.py", line 231, in log
text = format_event(event)
File "/home/cloudbot/CloudBot/plugins/log.py", line 82, in format_event
return format_irc_event(event, args)
File "/home/cloudbot/CloudBot/plugins/log.py", line 101, in format_irc_event
return irc_formats[event.irc_command].format(**args)
KeyError: 'chan'
[15:55:14] [ERROR] Error in hook log:console_log
Traceback (most recent call last):
File "/home/cloudbot/CloudBot/cloudbot/plugin.py", line 376, in _execute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/cloudbot/CloudBot/cloudbot/plugin.py", line 340, in _execute_hook_threaded
return hook.function(*parameters)
File "/home/cloudbot/CloudBot/plugins/log.py", line 248, in console_log
text = format_event(event)
File "/home/cloudbot/CloudBot/plugins/log.py", line 82, in format_event
return format_irc_event(event, args)
File "/home/cloudbot/CloudBot/plugins/log.py", line 101, in format_irc_event
return irc_formats[event.irc_command].format(**args)
KeyError: 'chan'
[15:55:14] [INFO] [harmony] >> PRIVMSG #♯ :Hello ! I'm an IRC bot. WayToDoor!milk.bottle@my.milk.bottle invited me here! Check what I can do with !help.
I am getting this issue with vanilla cloudbot too. Maybe something we should tell luke.
CloudBotIRC/CloudBot/issues/177
This fix CloudBotIRC/CloudBot#177 works. Closing the issue. Tl;Dr = Set your linux server locatle to UTF8