Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considèrerons que vous acceptez l'utilisation des cookies. J'ai compris ! ou En savoir plus !.
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é ?

Annonce

Printemps des cartes 2024

#1 Mon 17 August 2020 20:08

FanchVigne
Participant occasionnel
Date d'inscription: 21 Feb 2017
Messages: 43

QGIS 3.14: plugin GIS4WRF error

Bonjour à tous

je m'adresse à vous car j'ai un soucis lors de l'installation d'un plugin : GIS4WRF

Impossible de charger l'extension 'gis4wrf' provoque une erreur lors de l'appel à sa méthode classFactory()

RuntimeError: GIS4WRF: Error installing Python packages Log: Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35c … Collecting f90nml==1.0.2   Using cached f90nml-1.0.2.tar.gz (45 kB) Collecting netCDF4==1.4.2   Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB) Collecting wrf-python==1.3.2   ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl   ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl for URL https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
  File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 39, in bootstrap_with_ui
    for msg_type, msg_val in bootstrap():
  File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 220, in bootstrap
    for line in run_subprocess(args, LOG_PATH):
  File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 249, in run_subprocess
    raise subprocess.CalledProcessError(process.returncode, args)
subprocess.CalledProcessError: Command '['C:\\Program Files\\QGIS 3.14\\bin\\python-qgis.bat', '-m', 'pip', 'install', '--prefix', 'C:\\Users\\franc\\AppData\\Local\\gis4wrf\\python37', 'f90nml==1.0.2', 'netCDF4==1.4.2', 'https://7933911d6844c6c53a7d-47bd50c35c … md64.whl']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 22, in classFactory
    bootstrap_with_ui(iface)
  File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 62, in bootstrap_with_ui
    raise RuntimeError(PLUGIN_NAME + ': Error installing Python packages\nLog:\n' + log) from e
RuntimeError: GIS4WRF: Error installing Python packages
Log:
Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35c … Collecting f90nml==1.0.2
  Using cached f90nml-1.0.2.tar.gz (45 kB)
Collecting netCDF4==1.4.2
  Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB)
Collecting wrf-python==1.3.2
  ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl
  ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl
ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl for URL https://7933911d6844c6c53a7d-47bd50c35c … _amd64.whl
WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available.
You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.



Version de Python : 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Version de QGIS : 3.14.1-Pi Pi, de08d6b71d

Chemin Python :
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.14\apps\Python37
C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts
C:\Program Files\QGIS 3.14\bin\python37.zip
C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib
C:\Program Files\QGIS 3.14\bin
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\cadastre\forms
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:\Users\franc\AppData\Local\gis4wrf\python37
C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages


Seriez vous m'aider ?

Version QGIS 3.14
Version GIS4WRF 0.14.2

Hors ligne

 

#2 Mon 17 August 2020 22:28

ThomasG
Membre
Lieu: Nantes
Date d'inscription: 9 Sep 2005
Messages: 941
Site web

Re: QGIS 3.14: plugin GIS4WRF error

Bonsoir,

D'autres utilisateurs ont le même problème https://github.com/GIS4WRF/gis4wrf/issues/175
Le problème est lié à l'installation d'un package Python supplémentaire appelé python-wrf qui n'est pas maintenu si on est sous Windows
Cela a été corrigé via https://github.com/GIS4WRF/gis4wrf/issues/176 (il y a 21 jours)
Le plugin lorsque vous l'installez par les dépôts pour les plugins est actuellement en version 0.14.2. Il doit passer en version 0.14.3 https://github.com/GIS4WRF/gis4wrf/issues/177 qui devrait régler le problème mais ce n'est pas encore fait à ce jour.

Pour vous concrètement, en attendant, il s'agit de récupérer le plugin patché sur https://labs.webgeodatavore.com/partage … 0.14.2.zip puis de faire "Installer depuis un ZIP" dans l'interface d'installation des extensions.


Cordialement

PS: sous Linux, donc j'ai appliqué les modifs au zip officiel https://plugins.qgis.org/plugins/gis4wr … /download/ en remplaçant bootstrap.py par celui mis à jour sur le dépôt de code mais je n'ai pas pu confirmer le fonctionnement.

Hors ligne

 

#3 Tue 18 August 2020 13:48

FanchVigne
Participant occasionnel
Date d'inscription: 21 Feb 2017
Messages: 43

Re: QGIS 3.14: plugin GIS4WRF error

super merci

je vais suivre les mises a jour du plugin et voir quand il sera au point
encore merci

Hors ligne

 

Pied de page des forums

Powered by FluxBB