GRASS 8.5 Not working

Last week I updated my GRASS 8.4 to 8.5.0 and my QGIS 4.0.3-2 to 4.2.0-Belém do Pará using the OSGEO4W Setup on a Window 11 computer.

QGIS is running perfectly but now GRASS is not functioning.

GRASS GUI starts correctly. My existing projects and all the raster/vector layers are visible in the data window.

But when I try to display them on the map I get the following error with nothing displayed:

Failed to run command ‘d.rast map=srtm30@PERMANENT’. Details:

If I try r.patch, it runs and never stops and nothing is produced.

I tried creating a new project/location it still failed in the same way.

I completely uninstalled 8.5.0, rebooted and re-installed 8.5.0 and no improvement.

I then, uninstalled 8.5.0, installed version 8.4 and now it won’t work either.

Between one of my un-installation attempts I even when through the filesystem and removed all the user profile configuration files.

Does anyone have any suggestions on how to fix this? Or am I the only one with this problem?

I have a few hundred stream sediment catchment polygons to extract from a very large LIDAR DEM so I really need GRASS working!

regards,

Phil

I don’t have a good understanding of what happened, but in the meantime, try the 8.6.0dev from osgeo4w, an « independent » install, and will allow you to start from fresh, ideally, until you figure out your 8.5 install

I’m a relative newbie (second post), but FWIW, i would concur that the OSGeo4W-embedded install of GRASS 8.5 is not working, at least not on Windows 11 Pro 25H2. The GUI opens but nothing much works… the Path variables are somehow corrupted… e.g., if you try to add a raster map object to the Layers window, it won’t work, and if you look at the output console, you can see it was trying to find d.rast in the Documents directory where it stores the grassdata folder, instead of in C:\OSGeo4W\apps\grass\grass85\bin where it actually resides. If you launch GRASS 8.5 from the OSGeo4W shell instead of its Start Menu shortcut, it also fails, but in that case it will look for d.rast in C:\OSGeo4W! Definitely something wrong. I ended up using the standalone Windows installer for GRASS 8.4.2, and it works fine, even with the full OSGeo4W package (including GRASS 8.5) installed on top of it.

Ok, on that case we might have found a solution last week (for the PATH), but tested for the standalone installer only for now. In the env.bat file, we added that line: win: Fix standalone installer MSVC runtime and build the installer in CI by wenzeslaus · Pull Request #664 · echoix/grass · GitHub