Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 2507

"<urlopen error unknown url type: https>" with openpli2.1

$
0
0
root@dm800se:/usr/lib# python
Python 2.6.6 (r266:84292, Dec  5 2012, 22:03:54)
[GCC 4.4.4] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import _ssl
>>> import httplib
>>> hasattr(httplib, 'HTTPS')
False
>>> import socket
>>> hasattr(socket, 'ssl')
True
>>>

I had solved the error for other image by editing

 

/usr/lib/python2.6/config/Setup

 

from

# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
#SSL=/usr/local/ssl
#_ssl _ssl.c \
#	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
#	-L$(SSL)/lib -lssl -lcrypto

to

# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
SSL=/usr/local/ssl
_ssl _ssl.c \
	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
	-L$(SSL)/lib -lssl -lcrypto

 

but in openpli no file /usr/lib/python2.6/config/Setup

 

any solution would be appreciated.


Viewing all articles
Browse latest Browse all 2507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>