t.w.p.irc.IRCPasswordMismatch on newest version
schleppy opened this issue · comments
I have been running pyfibot (without updating) for about a year and a half so today I decided to get a fresh start with a fresh clone. I setup everything just as before in the config.yml (previously bot.config), but I am getting a password mismatch error.
For the life of me I can't figure out where the issue is. Any ideas?
That is a Twisted framework error sent when the password you are sending to the server is wrong.
Can you post your configuration (passwords censored of course)?
Here is my config.
admins:
- mynick!mynick@*
networks:
mycompany:
server: 10.10.4.28
password: passwd
linerate: 0
port: 6679
is_ssl: True
channels:
- '#testing'
nick: pybot
I can also see the debug message (actually I changed to INFO)
Connecting to Network('mycompany', ('10.10.4.28', 6679), 'pybot', ['#testing'], 0, 'passwd', True) / IPv4Address(TCP, '10.100.15.7', 6670)
After I changed the __repr__
of the Network class to include all fields as:
def __repr__(self):
return 'Network(%r, %r, %r, %r, %r, %r, %r)' % (self.alias, self.address, self.nickname, self.channels, self.linerate, self.password, self.is_ssl)
I know the error comes from Twisted. I have traced through the setup of the protocol and everything seems correct, which is why I am so confused. Thanks for any help you can offer.
Please try updating your bot and test if it works now...
@kipe That was it. I was even comparing to the older version of botcore.py and somehow missed that. Thanks.