[osgeo4w-dev] [osgeo4w] #863: Executing qgis-dev.bat in the Shell prints "The system cannot find the path specified." when grass is not installed

OSGeo4W trac_osgeo4w at osgeo.org
Mon Jan 6 16:35:03 PST 2025


#863: Executing qgis-dev.bat in the Shell prints "The system cannot find the
path specified." when grass is not installed
------------------------+---------------------------
Reporter:  andreaerdna  |      Owner:  osgeo4w-dev@…
    Type:  defect       |     Status:  new
Priority:  normal       |  Component:  Package
 Version:               |   Keywords:
------------------------+---------------------------
 Using the OSGeo4W shell, executing qgis-dev.bat prints "The system cannot
 find the  path specified." when grass package is not installed. qgis-dev
 starst anyway.


 {{{
 run o-help for a list of available commands
 C:\OSGeo4W>qgis-dev
 The system cannot find the  path specified.

 C:\OSGeo4W>
 }}}

 The error message is not printed executing qgis.bat or qgis-ltr.bat

 The issue looks like due to the fact that qgisgrass8.dll is present in
 \apps\qgis-dev\bin\ even if grass is not installed, thus the command
 {{{call "%OSGEO4W_ROOT%\apps\grass\grass84\etc\env.bat"}}}, executed by
 qgis-dev.bat, fails since \apps\grass\ doesn't exist.
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/863>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list