[osgeo4w-dev] [osgeo4w] #738: grass8 needs proj82-runtime

OSGeo4W trac_osgeo4w at osgeo.org
Fri Apr 29 10:05:17 PDT 2022

#738: grass8 needs proj82-runtime
Reporter:  andreaerdna  |      Owner:  osgeo4w-dev@…
    Type:  defect       |     Status:  new
Priority:  major        |  Component:  Package
 Version:               |   Keywords:
 Installing GRASS 8 (grass8 8.0.1-2), without also installing QGIS, leads
 to the following error unsuccessfully trying to launch it:

 Sto avviando GRASS GIS...
 ATTENZIONE: Il locking concorrente del mapset non è supportato in Windows.
 Eliminando i file temporanei...

           __________  ___   __________    _______________
          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
        \____/_/ |_/_/  |_/____/____/   \____/___//____/

 Benvenuto in GRASS GIS8.0.1
 Homepage di GRASS GIS:                   https://grass.osgeo.org
 Questa versione è eseguita tramite:      Command Prompt
 Help is available with the command:      g.manual -i
 VIsualizza i termini di licenza con:     g.version -c
 See citation options with:               g.version -x
 Se necessario, riavvia la GUI con:       g.gui wxpython
 Per uscire digitare:                     exit

 Sto avviando <wxpython> GUI in background, attendere prego...
 Microsoft Windows [Versione 10.0.18362.778]
 (c) 2019 Microsoft Corporation. Tutti i diritti sono riservati.

 C:\Users\giudiceandrea\Documents>wxnviz.py: Could not load grass_g3d.8.0.
 wxdigit.py: Could not load grass_vector.8.0.
 wxdigit.py: Could not load grass_vector.8.0.
 Traceback (most recent call last):
   File "C:\OSC726~1\apps\Python39\lib\site-packages\wx\core.py", line
 3407, in <lambda>
     lambda event: event.callable(*event.args, **event.kw) )
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\wxgui.py", line 88, in
     mainframe = GMFrame(parent=None, id=wx.ID_ANY,
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\lmgr\frame.py", line
 156, in __init__
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\lmgr\frame.py", line
 379, in _createConsole
     self.goutput = GConsoleWindow(
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\gui_core\goutput.py",
 line 127, in __init__
     self.cmdPrompt = GPromptSTC(
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\gui_core\prompt.py",
 line 155, in __init__
     GPrompt.__init__(self, parent=parent, giface=giface,
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\gui_core\prompt.py",
 line 57, in __init__
     self.mapList = self._getListOfMaps()
   File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\gui_core\prompt.py",
 line 114, in _getListOfMaps
     result["raster"] = grass.list_strings("raster")
   File "C:\OSC726~1\apps\grass\grass80\etc\python\grass\script\core.py",
 line 1462, in list_strings
     for line in read_command(
   File "C:\OSC726~1\apps\grass\grass80\etc\python\grass\script\core.py",
 line 606, in read_command
     return handle_errors(returncode, stdout, args, kwargs)
   File "C:\OSC726~1\apps\grass\grass80\etc\python\grass\script\core.py",
 line 429, in handle_errors
     raise CalledModuleError(module=module, code=code,
 grass.exceptions.CalledModuleError: Module run `g.list --q -m type=raster`
 ended with an error.
 The subprocess ended with a non-zero return code: 3221225781. See errors
 above the traceback or in the error output.

 It seems to me this is due to the the fact that the package proj82-runtime
 is not listed in the grass8 dependencies, while proj_8_2.dll is needed by

 Manually installing proj82-runtime fixes the issue and then it is possible
 to successfully launch GRASS 8.

 When qgis* is installed alongside grass8, then the issue doesn't occur
 because proj82-runtime is automatically installed as a dependency of
 python3-pyproj (why pyproj needs PROJ 8 and not PROJ 9?) which in turns is
 automatically installed as a dependency of qgis*.

Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/738>
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