You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just pulling in my libraries when this happens
Traceback
Traceback (most recent call last):
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\spyder\plugins\updatemanager\workers.py", line 166, in start
page = requests.get(url, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\api.py", line 73, in getreturn request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\api.py", line 59, in requestreturn session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\sessions.py", line 589, in request
resp =self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\adapters.py", line 639, in sendself.cert_verify(conn, request.url, verify, cert)
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\adapters.py", line 328, in cert_verifyraiseOSError(
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: %beatwoo%\ca.crt
Could not find a suitable TLS CA certificate bundle, invalid path: %beatwoo%\ca.crt
Traceback (most recent call last):
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\spyder\plugins\updatemanager\workers.py", line 166, in start
page = requests.get(url, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\api.py", line 73, in getreturn request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\api.py", line 59, in requestreturn session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\sessions.py", line 589, in request
resp =self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\adapters.py", line 639, in sendself.cert_verify(conn, request.url, verify, cert)
File "C:\Users\beatwoo\AppData\Roaming\Python\Python312\site-packages\requests\adapters.py", line 328, in cert_verifyraiseOSError(
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: %beatwoo%\ca.crt
Hey @elwoodataine, thanks for reporting. It seems Spyder is unable to check if an update is available because some security certificates are not available in your system.
There's nothing we can do on our side about it other than catching the error to not show it to users, which we'll do in a later version. To prevent this problem in the meantime, you need to update Spyder by opening a system terminal (i.e. cmd.exe) and running there
After validating this with @dalthviz , it appears that the problem is related to the SSL certificate configuration on the system rather than an issue with Spyder itself.
To address this, the following approach is proposed:
Capturing the Exception:
Spyder will capture the specific exception triggered by certificate-related errors.
Informing the User:
When this exception occurs, Spyder will display a clear and informative message indicating that the issue is related to the certificate configuration.
@ccordoba12 , what do you think about this possible solution?
I think the solution you proposed is ok. Also, as we agreed, we should display a checkbox in the message dialog that asks users if they want to disable checking for updates.
That way, they'll avoid seeing this and other error messages over and over again in case they are unable to address their cause.
Description
What steps will reproduce the problem?
I'm just pulling in my libraries when this happens
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: