stenyak / breakbot

WhatsApp<->IRC gateway bot
90 stars 38 forks source link

Starting the bot. [Connect to IRC] #29

Closed clarityworld closed 9 years ago

clarityworld commented 9 years ago

When I try to start the Bot, Btw I have set only the Irc connection infos in the jason to see if the bot can connect to the irc server

21:02 ~ $ cd breakbot 21:02 ~/breakbot (master)$ python bot.py 2015-01-08 21:02:20.196167 II bot.py:141: 8 contacts loaded from configuration file 2015-01-08 21:02:20.211618 II bot.py:49: Connecting IRC client (my_bot@irc.rizon.net:6667) 2015-01-08 21:02:21.377654 EE irc_bot.py:109: Traceback (most recent call last): File "/home/clarityworld/breakbot/irc_bot.py", line 107, in connect self.conn.next() File "/home/clarityworld/breakbot/oyoyo/client.py", line 140, in connect self.socket.connect(("%s" % self.host, self.port)) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(_args) error: [Errno 111] Connection refused 2015-01-08 21:02:21.377654 EE irc_bot.py:109: Problems while connecting to IRC server: [Errno 111] Connection refused 2015-01-08 21:02:21.391435 II irc_bot.py:152: Disconnected IRC client (my_bot@irc.rizon.net:6667) 2015-01-08 21:02:21.393042 II bot.py:60: Bot stopping... 2015-01-08 21:02:21.393129 EE catch_them_all.py:12: Traceback (most recent call last): File "/home/clarityworld/breakbot/catch_them_all.py", line 10, in wrapper return function(_args, **kwargs) File "/home/clarityworld/breakbot/irc_bot.py", line 133, in run self.connect() File "/home/clarityworld/breakbot/irc_bot.py", line 105, in connect raise Exception("Stopped while waiting for IRC connection") Exception: Stopped while waiting for IRC connection 2015-01-08 21:02:21.393129 EE catch_them_all.py:12: Exception in function run 2015-01-08 21:02:21.476724 II bot.py:57: Main loop closing 2015-01-08 21:02:21.478092 II bot.py:60: Bot stopping... 2015-01-08 21:02:21.710751 II bot.py:60: Bot stopping... 2015-01-08 21:02:21.711400 II bot.py:155: Bot stopped. 21:02 ~/breakbot (master)$