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've tried to install GIS4WRF in two machines today, without any success.
On Ububtu 20.04 and QGis 3.10, it crashes during installation. Then if I restart, the plugin shows up but disabled. If I click the check box to enable it, QGis inmediatly crashes. I updated to QGis 3.26, but get the same result. I downloaded the code, compiled it and installed using the ZIP file, but got the same issue again.
The second machine runs Ubuntu 22.04 and QGis 3.22. I also tried installing via the plugin manager or the ZIP (to compile I had to install pyqt5-dev-tools). Both installation pathways failed. In this case, instead of crashing it shows the following error:
Couldn't load plugin 'gis4wrf' due to an error when calling its classFactory() method
RuntimeError: GIS4WRF: Error installing Python packages Log: Added /home/camilo/.local/share/gis4wrf/python310/local/lib/python3.10/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3.10/site-packages as module search pathPackage directory: /home/camilo/.local/share/gis4wrf/python310/usr/local/bin/python3 -m pip install --prefix /home/camilo/.local/share/gis4wrf/python310 f90nml==1.0.2 netCDF4==1.* cftime==1.*
Traceback (most recent call last):
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 237, in bootstrap
for line in run_subprocess(args, LOG_PATH):
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 251, in run_subprocess
process = subprocess.Popen(args,
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/python3'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "/home/camilo/.local/share/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 /home/camilo/.local/share/gis4wrf/python310/local/lib/python3.10/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3.10/site-packages as module search pathPackage directory: /home/camilo/.local/share/gis4wrf/python310/usr/local/bin/python3 -m pip install --prefix /home/camilo/.local/share/gis4wrf/python310 f90nml==1.0.2 netCDF4==1.* cftime==1.*
The text was updated successfully, but these errors were encountered:
caradag
changed the title
Can't install GIS4WRF "error when calling its classFactory() method "
Can't install GIS4WRF "error when calling its classFactory() method " (installing from ZIP does not change the outcome)
Jun 10, 2024
I've tried to install GIS4WRF in two machines today, without any success.
On Ububtu 20.04 and QGis 3.10, it crashes during installation. Then if I restart, the plugin shows up but disabled. If I click the check box to enable it, QGis inmediatly crashes. I updated to QGis 3.26, but get the same result. I downloaded the code, compiled it and installed using the ZIP file, but got the same issue again.
The second machine runs Ubuntu 22.04 and QGis 3.22. I also tried installing via the plugin manager or the ZIP (to compile I had to install pyqt5-dev-tools). Both installation pathways failed. In this case, instead of crashing it shows the following error:
Couldn't load plugin 'gis4wrf' due to an error when calling its classFactory() method
RuntimeError: GIS4WRF: Error installing Python packages Log: Added /home/camilo/.local/share/gis4wrf/python310/local/lib/python3.10/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3.10/site-packages as module search pathPackage directory: /home/camilo/.local/share/gis4wrf/python310/usr/local/bin/python3 -m pip install --prefix /home/camilo/.local/share/gis4wrf/python310 f90nml==1.0.2 netCDF4==1.* cftime==1.*
Traceback (most recent call last):
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 237, in bootstrap
for line in run_subprocess(args, LOG_PATH):
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 251, in run_subprocess
process = subprocess.Popen(args,
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/python3'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "/home/camilo/.local/share/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 /home/camilo/.local/share/gis4wrf/python310/local/lib/python3.10/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3/site-packages as module search pathAdded /home/camilo/.local/share/gis4wrf/python310/lib/python3.10/site-packages as module search pathPackage directory: /home/camilo/.local/share/gis4wrf/python310/usr/local/bin/python3 -m pip install --prefix /home/camilo/.local/share/gis4wrf/python310 f90nml==1.0.2 netCDF4==1.* cftime==1.*
Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
QGIS version: 3.22.4-Białowieża Białowieża, exported
Python Path:
/usr/share/qgis/python
/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python
/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python310.zip
/usr/lib/python3.10
/usr/lib/python3.10/lib-dynload
/usr/local/lib/python3.10/dist-packages
/usr/lib/python3/dist-packages
/home/camilo/.local/share/QGIS/QGIS3/profiles/default/python
/home/camilo/.local/share/gis4wrf/python310/local/lib/python3.10/site-packages
/home/camilo/.local/share/gis4wrf/python310/lib/python3/site-packages
/home/camilo/.local/share/gis4wrf/python310/lib/python3.10/site-packages
The text was updated successfully, but these errors were encountered: