Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hippybot is broken under Python 2.7.9 #18

Open
vmalloc opened this issue Dec 22, 2014 · 2 comments
Open

Hippybot is broken under Python 2.7.9 #18

vmalloc opened this issue Dec 22, 2014 · 2 comments
Assignees

Comments

@vmalloc
Copy link

vmalloc commented Dec 22, 2014

When attempting to run I get:

Traceback (most recent call last):
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/hippybot/bot.py", line 256, in run
    bot = HippyBot(self.config._sections)
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/hippybot/bot.py", line 61, in __init__
    self.join_room(channel, config['connection']['nickname'])
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/hippybot/bot.py", line 166, in join_room
    self.connect().send(pres)
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/jabberbot.py", line 208, in connect
    conres = conn.connect()
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/xmpp/client.py", line 205, in connect
    while not self.TLS.starttls and self.Process(1): pass
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/xmpp/dispatcher.py", line 303, in dispatch
    handler['func'](session,stanza)
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/xmpp/transports.py", line 337, in StartTLSHandler
    self._startSSL()
  File ".../src/work/infrabot/.env/lib/python2.7/site-packages/xmpp/transports.py", line 316, in _startSSL
    tcpsock._sslIssuer = tcpsock._sslObj.issuer()
AttributeError: '_ssl._SSLSocket' object has no attribute 'issuer'
@1stvamp
Copy link
Owner

1stvamp commented Jan 9, 2015

@vmalloc thanks for this and sorry for the late response, seems I'm still not getting notifications for this repo off GH, doh.

@1stvamp 1stvamp self-assigned this Jan 9, 2015
@jimlerza
Copy link

This is actually a bug in xmlpppy. I was able to get hippybot working on Python 2.7.9 by replacing xmlpppy with ArchipelProject/xmpppy.

jzhuge added a commit to jzhuge/hippybot that referenced this issue Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants