[osgeo4w-dev] [osgeo4w] #661: libgrass_gis.7.8 Not Found

OSGeo4W trac_osgeo4w at osgeo.org
Tue Feb 23 09:40:29 PST 2021


#661: libgrass_gis.7.8 Not Found
---------------------+---------------------------------
Reporter:  PedroNGV  |      Owner:  osgeo4w-dev@…
    Type:  defect    |     Status:  new
Priority:  major     |  Component:  Package
 Version:            |   Keywords:  grass, testing repo
---------------------+---------------------------------
 When I run GRASS 7.8.5 I try to start a new session I get:


 {{{
 Cleaning up temporary files...
 D1/1: G_set_program_name(): clean_temp
 D1/1: G_set_program_name(): db.connect
 D1/1: Creating new default DB params with db_set_default_connection()

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

 Welcome to GRASS GIS 7.8.5
 GRASS GIS homepage:                      https://grass.osgeo.org
 This version running through:            Command Prompt
 (C:\WINDOWS\system32\cmd.exe)
 Help is available with the command:      g.manual -i
 See the licence terms with:              g.version -c
 See citation options with:               g.version -x
 If required, restart the GUI with:       g.gui wxpython
 When ready to quit enter:                exit

 Launching <wxpython> GUI in the background, please wait...
 Microsoft Windows [Version 10.0.19042.804]
 (c) 2020 Microsoft Corporation. Todos os direitos reservados.

 C:\OSGeo4W64\bin>D1/1: G_set_program_name(): g.gisenv
 D1/1: grass.script.core.start_command(): g.gisenv -n
 D1/1: G_set_program_name(): g.gisenv
 wxnviz.py: Could not find module
 'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of its
 dependencies). Try using the full path with constructor syntax.
 wxdigit.py: Could not find module
 'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of its
 dependencies). Try using the full path with constructor syntax.
 Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\wxgui.py", line 104,
 in OnInit
     from lmgr.frame import GMFrame
   File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py", line
 51, in <module>
     from lmgr.layertree import LayerTree, LMIcons
   File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\layertree.py",
 line 38, in <module>
     from mapdisp.frame import MapFrame
   File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\mapdisp\frame.py",
 line 43, in <module>
     from mapwin.buffered import BufferedMapWindow
   File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\mapwin\buffered.py",
 line 52, in <module>
     import grass.lib.gis as gislib
   File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\gis.py", line
 23, in <module>
     _libs["grass_gis.7.8"] = load_library("grass_gis.7.8")
   File
 "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
 line 62, in load_library
     return self.load(path)
   File
 "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
 line 240, in load
     return _WindowsLibrary(path)
   File
 "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
 line 223, in __init__
     self.cdll = ctypes.cdll.LoadLibrary(path)
   File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 452, in
 LoadLibrary
     return self._dlltype(name)
   File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 374, in
 __init__
     self._handle = _dlopen(self._name, mode)
 FileNotFoundError: Could not find module
 'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of its
 dependencies). Try using the full path with constructor syntax.
 OnInit returned false, exiting...
 }}}

 GRASS installed from new installer (testing repo).

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