My main issue is running couchpotato (v e6fa8b8b) with python 2.7.
Everything seems to work almost fine, with exception for few settings that are not visible (like quality setting) but the main issue is HTTPS/SSL connection as most of torrent-related websites are using it and CP it's barely finding any releases.
The same CP is working fine on my WD Mybookworld White Light with python 2.6 but the amount of RAM and CPU on that dev makes CP work very slow.
It seems like python is not compiled properly or maybe whole router OS is somehow broken. I know it's in beta stage but maybe that's something we can work on.
Couchpotato is not launching on python 3.5 at all - I think it's not prepared to work with that version, so I am unable to check if that works now.
The errors I am receiving from log are:
Code:
<module>
import ssl
File "/opt/usr/lib/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: Error relocating /opt/usr/lib/python2.7/lib-dynload/_ssl.so: EC_KEY_free: symbol not found
Code:
SSLError: Can't connect to HTTPS URL because the SSL module is not available
Even if I try to clone things from GIT I have to use git:// instead of https:// as I'm getting this:
Code:
fatal: unable to find remote helper for 'https'
Also wget is unable to fetch anything via secure connection:
Code:
wget: error getting response: Address family not supported by protocol
I have run into this problem as well. I tried going down the path of manually installing Python OpenSSL (https://pypi.python.org/pypi/pyOpenSSL), however when I got to the cffi dependency, that is where things stopped.
root@Digiport:/jffs/pypi_packages/cffi-1.3.0# python setup.py install
unable to execute 'arm-openwrt-linux-muslgnueabi-gcc': No such file or directory
unable to execute 'arm-openwrt-linux-muslgnueabi-gcc': No such file or directory
No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
(If they are about -mno-fused-madd and you are on OS/X 10.8,
see http://stackoverflow.com/questions/22313407/ .)
Unfortunately, this is about where troubleshooting stops for me as I am very not certain on how to get this compiler or if I should really be attempting to compile on my active router.
However, if it helps, I was able to get curl to work with https addresses. I simply needed to use opkg to install ca-certificates, then when running curl, using the argument --capath /opt/etc/ssl/certs/
I am now able to at least make requests to https addresses, I still can't "import ssl" in Python, however this workaround with curl enables me to have calls to https API's. I don't think this will help you zeezoo, as you are trying to get a pre-built python application to run, however hopefully it will help someone else who Googles up this post as I did.