[Python-apps-team] Bug#635496: cannot import mercurial.httpclient with Python 2.7: 'module' object has no attribute 'PROTOCOL_SSLv2'

Jakub Wilk jwilk at debian.org
Tue Jul 26 11:19:03 UTC 2011


Package: mercurial
Version: 1.9-1+b1
User: debian-python at lists.debian.org
Usertags: python2.7

$ python2.7 -c 'import mercurial.httpclient'
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/pymodules/python2.7/mercurial/httpclient/__init__.py", line 48, in <module>
     import socketutil
   File "/usr/lib/pymodules/python2.7/mercurial/httpclient/socketutil.py", line 81, in <module>
     PROTOCOL_SSLv2 = ssl.PROTOCOL_SSLv2
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv2'


-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6                        2.13-10     Embedded GNU C Library: Shared lib
ii  mercurial-common             1.9-1       scalable distributed version contr
ii  python                       2.7.2-3     interactive high-level object-orie
ii  python-support               1.0.14      automated rebuilding support for P
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

-- 
Jakub Wilk





More information about the Python-apps-team mailing list