Ticket #837 (closed defect: invalid)
Re-enable SSL support in python packages
|Reported by:||mossroy||Owned by:||spaetz|
Since the big updates commited in the beginning of december 2009, there seems to be no more SSL support in the python packages.
Python has been upgraded to 2.6 at this time : I suppose it is related.
Until november 2009, on SHR unstable, the python-netclient package was enough to make https requests like urllib2.urlopen(" https://...")
Now, such calls fail with :
Traceback (most recent call last): File "wget_auth.py", line 12, in <module> response = urllib2.urlopen(sys.argv) File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 383, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 406, in _open 'unknown_open', req) File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1163, in unknown_open raise URLError('unknown url type: %s' % type) urllib2.URLError: <urlopen error unknown url type: https>
It looks like a similar problem occurs when trying to open a mailbox in IMAP4_SSL protocol with python :
I tried to search in python packahges if the necessary code had been moved to another package. But I did not find it