Ticket #837 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Re-enable SSL support in python packages

Reported by: mossroy Owned by: spaetz
Priority: major Milestone:
Component: Package requests Version: SHR-testing
Keywords: Cc:

Description

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[1])
  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 :
 http://openmoko-fr.org/forum/viewtopic.php?id=757&p=6

I tried to search in python packahges if the necessary code had been moved to another package. But I did not find it

Change History

comment:1 Changed 3 years ago by mossroy

It looks like the necessary code has been moved to the package pyton-misc.
After installing this package, both problems (IMAP4_SSL and HTTPS get) have been solved

I suppose this ticket can be closed, but I don't seem to have the rights to do it

comment:2 Changed 3 years ago by spaetz

  • Status changed from new to closed
  • Resolution set to invalid

Thanks for letting me know. Closing this one.

Note: See TracTickets for help on using tickets.