Opened 3 years ago

Closed 3 years ago

#738 closed defect (fixed)

grass8 needs proj82-runtime

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description (last modified by andreaerdna)

Installing GRASS 8 (grass8 8.0.1-3) [, 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 (C:\WINDOWS\system32\cmd.exe)
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 show_main_gui
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
  File "C:\OSC726~1\apps\grass\grass80\gui\wxpython\lmgr\frame.py", line 156, in __init__
    self._createConsole(self.notebook)
  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, menuModel=menuModel)
  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, returncode=returncode)
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 libgrass_gproj.8.0.dll.

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*.]

EDIT: proj82-runtime is no longer listed as a dependency of python3-pyproj, so it is no longer automatically installed by any qgis* package.

Change History (2)

comment:1 by andreaerdna, 3 years ago

Description: modified (diff)

comment:2 by jef, 3 years ago

Resolution: fixed
Status: newclosed

Fixed in grass8-8.0.1-4

Note: See TracTickets for help on using tickets.