On 29.03.19 21:50, Aleks_SH wrote:
Hi.
I try this python code in LibreOffice 6.2.2 under Win 10:
from urllib.request import urlopen
url = 'https://google.com'
file = urlopen(url)
html = file.read()
And get error: <class 'urllib.error.URLError'>: <urlopen error unknown url
type: https>........
Python in LibreOffice don't support https?
yes it does.
HTTPS support is only available if the socket module was compiled with SSL
support.
What can I do to enable https?
typically the problem there is that there's some libeay32.dll or
ssleay32.dll in C:/Windows/System or somewhere in $PATH and that gets
loaded with higher priority than the LO's bundled DLLs in C:/Program
Files/LibreOffice and breaks everything.
if you can figure out which application installed OpenSSL DLLs
system-wide, please complain to them that they're breaking other apps.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.