471,049 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

urllib en https

I have a strange problem. I wrote a script that uses urllib.urlopen to fetch
a page through https. In Python 2.2.2 this works without a problem. But
when I use the script in Python I get:

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/urllib.py", line 79, in urlopen
return opener.open(url, data)
File "/usr/local/lib/python2.4/urllib.py", line 177, in open
return self.open_unknown(fullurl, data)
File "/usr/local/lib/python2.4/urllib.py", line 189, in open_unknown
raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'https'

What is happening here? And how can I solve this?

Sep 13 '06 #1
0 1252

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gary Feldman | last post: by
3 posts views Thread by Volker M. | last post: by
1 post views Thread by John Hunter | last post: by
reply views Thread by Ali.Sabil | last post: by
5 posts views Thread by Cecil Westerhof | last post: by
1 post views Thread by brad | last post: by
3 posts views Thread by Fredrik Lundh | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.