> El 20 jun 2020, a las 14:36, lasizoillo <[email protected]> escribió:
>
> Justo te has comido la parte más importante del volcado de la pila. Al final
> es donde te desvela el error. Entendiendo a leerlo puedes saber la línea
> exacta del código que te está fallando.
>
> Supongo que esto, si sabes inglés, te resultará muy útil
> https://realpython.com/python-traceback/
> <https://realpython.com/python-traceback/>
>
> Un saludo,
>
> Javi
Gracias tocayo,
Jo, ya es mala suerte.
Te pongo el resto a ver si me puedes ayudar:
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py",
line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line
500, in wrap_socket
return self.sslsocket_class._create(
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line
1040, in _create
self.do_handshake()
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line
1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed: self signed certificate in certificate chain (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/javierpm/Documents/Documentos
personales/Javier/Python/Proyectos/App fondos de inversión/app
actual/fondos.py", line 37, in <module>
raspado("https://markets.ft.com/data/funds/tearsheet/performance?s=LU0114721177:EUR")
File "/Users/javierpm/Documents/Documentos
personales/Javier/Python/Proyectos/App fondos de inversión/app
actual/fondos.py", line 23, in raspado
html = gazpacho.get(url)
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gazpacho/get.py",
line 32, in get
with opener.open(url) as f:
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
line 525, in open
response = self._open(req, data)
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
line 502, in _call_chain
result = func(*args)
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py",
line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:1108)>
>>>
Saludos,
--
Javier Pérez
http://es.linkedin.com/in/javierperez1
http://www.perasalvino.es/
_______________________________________________
Python-es mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-es