Re: Calibre installation fails on C7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Dec 23, 2015 at 09:37:37AM -0500, Fred Smith wrote:
> wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)"
> 2015-12-22 07:44:40 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25887/25887] -> "-" [1]
> Installing to /home/fredex/calibre-bin/calibre
> Downloading tarball signature securely...
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "<string>", line 670, in main
>   File "<string>", line 655, in run_installer
>   File "<string>", line 627, in download_and_extract
>   File "<string>", line 619, in get_tarball_info
>   File "<string>", line 578, in get_https_resource_securely
>   File "<string>", line 487, in __init__
>   File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__
>     context.load_cert_chain(cert_file, key_file)
> ssl.SSLError: [SSL] PEM lib (_ssl.c:2757)
> 

I skimmed that python script, and it seems to be making an SSL
connection to https://code.calibre-ebook.com/ which appears to have a
self-signed certificate.  It looks like it includes the cert file, but
python 2.7 doesn't appear to like you just using
httplib.HTTPSConnection without a key file too, which isn't included.
(see
https://docs.python.org/2/library/httplib.html#httplib.HTTPSConnection
)

I suspect this must be a bug in the upstream code.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux