banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

#1 Fri 22 July 2022 08:59

conejo
Participant assidu
Lieu: Lunel
Date d'inscription: 2 Dec 2005
Messages: 1668

QGIS Demarrage: Erreur Python

Bonjour,

Au démarrage de Qgis 3.22, un message d'erreur s'affiche :

Une erreur est survenue lors de l'exécution du code Python


Avec ce détail :

Une erreur est survenue lors de l'éxécution du code Python:

ssl.SSLError: (SSLError(1, 'A failure in the SSL library occurred (_ssl.c:1129)'),)
Traceback (most recent call last):
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connection.py", line 362, in connect
    self.sock = ssl_wrap_socket(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\util\ssl_.py", line 386, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 1040, in _create
    self.do_handshake()
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: A failure in the SSL library occurred (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\httplib2shim\__init__.py", line 140, in _conn_request
    urllib3_response = self.pool.request(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\request.py", line 79, in request
    return self.request_encode_body(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\request.py", line 171, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\poolmanager.py", line 336, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
    retries = retries.increment(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\util\retry.py", line 386, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\packages\six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\connection.py", line 362, in connect
    self.sock = ssl_wrap_socket(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\urllib3\util\ssl_.py", line 386, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 1040, in _create
    self.do_handshake()
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: A failure in the SSL library occurred (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_plugin.py", line 125, in updateLayers
    import ee
  File "C:\Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\__init__.py", line 36, in __wrapping_ee_import__
    _module_.Initialize()
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\__init__.py", line 115, in Initialize
    data.initialize(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 210, in initialize
    _install_cloud_api_resource()
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 280, in _install_cloud_api_resource
    _cloud_api_resource = _cloud_api_utils.build_cloud_resource(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\_cloud_api_utils.py", line 142, in build_cloud_resource
    resource = discovery.build(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\googleapiclient\_helpers.py", line 134, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\googleapiclient\discovery.py", line 245, in build
    content = _retrieve_discovery_doc(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\googleapiclient\discovery.py", line 305, in _retrieve_discovery_doc
    resp, content = http.request(actual_url)
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google_auth_httplib2.py", line 186, in request
    self.credentials.before_request(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google\auth\credentials.py", line 124, in before_request
    self.refresh(request)
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google\oauth2\credentials.py", line 177, in refresh
    access_token, refresh_token, expiry, grant_response = _client.refresh_grant(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google\oauth2\_client.py", line 248, in refresh_grant
    response_data = _token_endpoint_request(request, token_uri, body)
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google\oauth2\_client.py", line 105, in _token_endpoint_request
    response = request(method="POST", url=token_uri, headers=headers, body=body)
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\google_auth_httplib2.py", line 115, in __call__
    response, data = self.http.request(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\httplib2\__init__.py", line 1985, in request
    (response, content) = self._request(
  File "C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\httplib2\__init__.py", line 1650, in _request
    (response, content) = self._conn_request(
  File "C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\httplib2shim\__init__.py", line 154, in _conn_request
    raise _map_exception(e)
ssl.SSLError: (SSLError(1, 'A failure in the SSL library occurred (_ssl.c:1129)'),)


Version de Python : 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
Version de QGIS : 3.22.7-Białowieża Białowieża, 5a65627a

Chemin Python :
C:\Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pdaltools
C:\Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools
C:\Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geomovetools
C:/PROGRA~1/QGIS32~1.7/apps/qgis-ltr/./python
C:/Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS32~1.7/apps/qgis-ltr/./python/plugins
C:\Program Files\QGIS 3.22.7\bin\python39.zip
C:\PROGRA~1\QGIS32~1.7\apps\Python39\DLLs
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib
C:\Program Files\QGIS 3.22.7\bin
C:\PROGRA~1\QGIS32~1.7\apps\Python39
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\GDAL-3.4.3-py3.9-win-amd64.egg
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS32~1.7\apps\Python39\lib\site-packages\Pythonwin
C:/Users/jcascales/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows
C:\Users\jcascales\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:/Users/jcascales/Eiffage/656600_225kV_FAMARS-QUIEVY - 1_Plans/12_SIG


Est-ce un message important?
Merci.

Hors ligne

 

Pied de page des forums

Powered by FluxBB