Replies: 21 comments
-
Mmm ... interesting. Just now I was also trying to install the plugin again. My system: Ubuntu 22.04 Any suggestions on how to go forward (or to further debug) or welcome! |
Beta Was this translation helpful? Give feedback.
-
It is definitely not a way to solve the issue but is the tool you need not available in the UMEP for processing version ? |
Beta Was this translation helpful? Give feedback.
-
The same thing happens with the "UMEP for processing" plugin, although I get the error "UMEP couldn't install Python packages! See 'General' tab in 'Log Messages' panel for details. Report any errors to https://github.com/UMEP-dev/UMEP-processing/issues" before the QGIS shuts down. |
Beta Was this translation helpful? Give feedback.
-
Weird, it seems to work well with: Ubuntu 22.04 |
Beta Was this translation helpful? Give feedback.
-
For me, QGIS also shuts down when enabling the "UMEP for processing" plugin. |
Beta Was this translation helpful? Give feedback.
-
Do you use QGIS in a specific Python environment ? |
Beta Was this translation helpful? Give feedback.
-
Did you try the SNAPSHOT version downloading the zip and importing it in the "Manage and install plugin" window ? |
Beta Was this translation helpful? Give feedback.
-
I saw some thread in [email protected] that NetCDF4 could be problematic in the new version of QGIS. Maybe you should try to temporally remove that... |
Beta Was this translation helpful? Give feedback.
-
When I was trying to fix this yesterday, I also tried to install QGIS in a dedicated python environment. |
Beta Was this translation helpful? Give feedback.
-
On Linux, I use to install QGIS using an anaconda environment. Once anaconda installed, I think something like that could work:
Then installing UMEP for processing within the QGIS window launched |
Beta Was this translation helpful? Give feedback.
-
Let's first see if the problem is raised when installing this specific library ? Otherwise an option would be to use only the xarray library without the netCDF4 library, even though it is recommended by the xarray package (https://docs.xarray.dev/en/stable/getting-started-guide/installing.html#for-netcdf-and-io). Here is a way to create the URock output netcdf without the netCDF4 library: https://towardsdatascience.com/how-to-create-xarray-datasets-cf1859c95921 |
Beta Was this translation helpful? Give feedback.
-
Following these steps, I could install the plugin! However, I had to install using conda several libraries manually: pandas, xlrd and xlwt. Thank you very much for the guidance. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback |
Beta Was this translation helpful? Give feedback.
-
@matthiasdemuzere feel free to reopen if you still meet troubles |
Beta Was this translation helpful? Give feedback.
-
Thanks for these suggestions both. I have been following them, and installed QGIS in a conda environment.
It seems QT does not work well with Wayland. I have tried to QT_QPA_PLATFORM to any of the other, but that did not work. @j3r3m1: since you also installed on 22.04, did you not bump into this issue? |
Beta Was this translation helpful? Give feedback.
-
No I have never faced such problem. In your "your_cond_env", can you try removing qgis and then install it but without any version conditionning ?
See if this solves the issue. |
Beta Was this translation helpful? Give feedback.
-
So, I first changed the XDG_SESSION_TYPE from wayland to xorg, system-wide, following these guidelines. Now:
But I still got the wayland error when launching qgis.
So, I then followed your last suggestion, removing qgis and installing without indicating a version. This is installing version qgis-3.30.1. But ... unfortunately I still get the same error? |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I got it to work. Here is what I did in addition, might be useful for others bumping into the same issue: Installing:
Not sure though if any of these were required. Then I also have to set: And then launching qgis. But now QGIS runs, and UMEP is available. The only thing I still see when launching qgis in the terminal is:
I'll have to see if this will be a problem when actually working with any of the tools ... Thanks for the support! |
Beta Was this translation helpful? Give feedback.
-
pdal should not be required for any of the UMEP-tool. @matthiasdemuzere, can we migrate this issue over to discussions so that others easily might find it? |
Beta Was this translation helpful? Give feedback.
-
I suppose you mean gdal. gdal is used in many places of the UMEP code but called within the osgeo package (cf. example here. However, in anaconda, to install the osgeo package you need to download the gdal one (there is no package named osgeo). |
Beta Was this translation helpful? Give feedback.
-
No, we were referring to PDAL ... |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to install the UMEP plugin in QGIS, and I believe the installation completes, but when I try to enable the plugin, the QGIS just shuts down after a few seconds. I tried the installation with QGIS versions 3.26 and 3.28 LTR. I installed the UMEP latest version 4.0.4 available in the repository and a few random previous versions using ZIP files; the result didn't change. The QGIS crash report says "Fatal Python error: Segmentation fault". I am working on Ubuntu 20.04. Exactly the same thing happens on another computer with the same setup. If you can guide me in the right direction, I would appreciate it. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions