Package: libpython2.7-stdlib Version: 2.7.8-7 Severity: normal Hi,
please i am not sure where this belong – I am not the SSL nor Python expert. I have some time own script to send RSS/Atom feeds to the XMPP shcanel via the python-xmpp library. After last python update i get the error: Traceback (most recent call last): File "/home/slavko/Python/feed2xmpp/feed2xmpp.py", line 139, in <module> main() File "/home/slavko/Python/feed2xmpp/feed2xmpp.py", line 131, in main args.jid, args.muc, feedlist) File "/home/slavko/Python/feed2xmpp/feed2xmpp.py", line 115, in sendFeedItems client = xmppclient.login(server, loginjid, passwd) File "/home/slavko/Python/feed2xmpp/xmppclient.py", line 35, in login con = client.connect() File "/usr/lib/python2.7/dist-packages/xmpp/client.py", line 205, in connect while not self.TLS.starttls and self.Process(1): pass File "/usr/lib/python2.7/dist-packages/xmpp/dispatcher.py", line 303, in dispatch handler['func'](session,stanza) File "/usr/lib/python2.7/dist-packages/xmpp/transports.py", line 330, in StartTLSHandler self._startSSL() File "/usr/lib/python2.7/dist-packages/xmpp/transports.py", line 308, in _startSSL tcpsock._sslObj = socket.ssl(tcpsock._sock, None, None) File "/usr/lib/python2.7/socket.py", line 64, in ssl return _realssl.sslwrap_simple(sock, keyfile, certfile) File "/usr/lib/python2.7/ssl.py", line 980, in sslwrap_simple ssl_sock = _ssl.sslwrap(sock, 0, keyfile, certfile, CERT_NONE, AttributeError: 'module' object has no attribute 'sslwrap' (The fedd2xmpp.py and the xmppclient.py are part of my small project) When i try it from the console (to simulate the ssl.py behavior) i get the same result: >>> import _ssl >>> _ssl.sslwrap() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'sslwrap' regards -- Slavko http://slavino.sk
signature.asc
Description: PGP signature