Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
I've seen there was a curl update today in OSGeo4W 64bit. please try to > update your OSGeo4W environment and try again to start winGRASS in > OSGeo4W. > Updated now, but same error when running any algorithm. Also when starting the gui I get C:\OSGeo4W64\bin>g.gui Launching GUI in the background, please wait... C:\OSGeo4W64\bin>Traceback (most recent call last): File "C:\OSGEO4~1\apps\grass\grass78/gui/wxpython/wxgui.py", line 107, in OnInit workspace=self.workspaceFile) File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py", line 143, in __init__ self.notebook = self._createNoteBook() File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py", line 338, in _createNoteBook gcstyle=GC_PROMPT) File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\goutput.py", line 118, in __init__ self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel) File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py", line 138, in __init__ GPrompt.__init__(self, parent=parent, menuModel=menuModel) File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py", line 56, in __init__ self.mapList = self._getListOfMaps() File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py", line 100, in _getListOfMaps result['raster'] = grass.list_strings('raster') File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py", line 1288, in list_strings mapset=mapset).splitlines(): File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py", line 503, in read_command return handle_errors(returncode, stdout, args, kwargs) File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py", line 343, in handle_errors returncode=returncode) grass.exceptions.CalledModuleError: Module run None g.list --q -m type=raster ended with error Process ended with non-zero return code 3221225785. See errors in the (error) output. OnInit returned false, exiting... Error in atexit._run_exitfuncs: wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
>Do you see anything suspicious? Nothing obvious >The message I get (screenshot attached) is something like "It was >not possible to find the entry point of the procedure curl_mime_init >in the DLL C:\OSGEO4~1\bin\gdal300.dll". ok, I think we're narrowing down the issue now. I've seen there was a curl update today in OSGeo4W 64bit. please try to update your OSGeo4W environment and try again to start winGRASS in OSGeo4W. Otherwise, open a ticket in OSGeo4W for the gdal curl issue. - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
Hi Helmut, Thank you very much for the assistance. So: C:\OSGeo4W64>where gdal300.dll C:\OSGeo4W64\bin\gdal300.dll C:\Users\PedroVenancio>where gdal300.dll INFO: Could not find files for the given pattern(s). depwalk_bin.log has no reference to gdal3. depwalk_lib.log has some: [ 6] c:\osgeo4~1\bin\GDAL300.DLL [ 6] c:\osgeo4~1\bin\OGDI.DLL [ ^6] c:\osgeo4~1\bin\ZLIB1.DLL [ ^6] c:\osgeo4~1\bin\EXPAT.DLL [ ^6] c:\windows\system32\WSOCK32.DLL [F^6] c:\windows\system32\WS2_32.DLL [ ^6] c:\windows\system32\ADVAPI32.DLL [ ^6] c:\windows\system32\KERNEL32.DLL [F^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\windows\system32\VCRUNTIME140.DLL [ ? ] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-STRING-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-ENVIRONMENT-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-FILESYSTEM-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-MATH-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-UTILITY-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-CONVERT-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [ 6] c:\osgeo4~1\bin\XERCES-C_3_2.DLL [ ^6] c:\windows\system32\KERNEL32.DLL [F^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\windows\system32\ADVAPI32.DLL [ ^6] c:\windows\system32\VCRUNTIME140.DLL [ ? ] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-TIME-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-CONVERT-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-LOCALE-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-UTILITY-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-MATH-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-STRING-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-ENVIRONMENT-L1-1-0.DLL [ ? ] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [ 6] c:\osgeo4~1\bin\EXPAT.DLL [ ^6] c:\windows\system32\MSVCR100.DLL [ ^6] c:\windows\system32\KERNEL32.DLL [F^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\osgeo4~1\bin\LIBPQ.DLL [ 6] c:\windows\system32\WSOCK32.DLL [ ^6] c:\windows\system32\MSVCRT.DLL [ ^6] c:\windows\system32\WS2_32.DLL [ ? ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL [ ? ] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-SYSINFO-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-RTLSUPPORT-L1-1-0.DLL [F^6] c:\windows\system32\WS2_32.DLL [ ^6] c:\windows\system32\WS2_32.DLL [...] [ 6] c:\osgeo4~1\apps\grass\grass78\lib\LIBGRASS_GPROJ.7.8.DLL [ ? ] LIBINTL-8.DLL [ ^6] c:\windows\system32\KERNEL32.DLL [F^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\windows\system32\MSVCRT.DLL [ ^6] c:\osgeo4~1\bin\PROJ_6_2.DLL [ ^6] c:\osgeo4~1\bin\GDAL300.DLL [ ^6] c:\osgeo4~1\apps\grass\grass78\lib\LIBGRASS_GIS.7.8.DLL [...] [ 6] c:\osgeo4~1\bin\GDAL300.DLL 03/11/2019 00:33 03/11/2019 00:33 20 789 760 A 0x 0x013DF7F0 x64 GUIUnknown 0x00018000 Unknown 0x0144B000Not Loaded 3.0.2.0 3.0.2.0 0.0 14.06.0 6.0 Do you see anything suspicious? The message I get (screenshot attached) is something like "It was not possible to find the entry point of the procedure curl_mime_init in the DLL C:\OSGEO4~1\bin\gdal300.dll". Thanks! Pedro Helmut Kudrnovsky escreveu no dia sexta, 15/11/2019 à(s) 20:31: > Pedro Venâncio-2 wrote > > Hi Helmut, > > > > > > What is gdalinfo --version in the OSGeo4W shell telling? > >> > > > > > > C:\OSGeo4W64>gdalinfo --version > > GDAL 3.0.2, released 2019/10/28 > > and type the same in a normal windows console, here: > > C:\Users\myusername>where gdal300.dll > INFORMATION: no file with this pattern could be found > > > > > - > best regards > Helmut > -- > Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html > ___ > grass-dev mailing list > grass-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-dev ___ grass-dev mailing list
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
Pedro Venâncio-2 wrote > Hi Helmut, > > > What is gdalinfo --version in the OSGeo4W shell telling? >> > > > C:\OSGeo4W64>gdalinfo --version > GDAL 3.0.2, released 2019/10/28 and type the same in a normal windows console, here: C:\Users\myusername>where gdal300.dll INFORMATION: no file with this pattern could be found - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
Pedro Venâncio-2 wrote > Hi Helmut, > > > What is gdalinfo --version in the OSGeo4W shell telling? >> > > > C:\OSGeo4W64>gdalinfo --version > GDAL 3.0.2, released 2019/10/28 try to type into the OSGeo4W shell: C:\>where gdal300.dll result here: C:\OSGeo4W64\bin\gdal300.dll - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
Pedro Venâncio-2 wrote > Hi Jurgen, > > > >> Try dependency walker called from the GRASS prompt and load gdal300.dll. >> There's probably something missing that the dll needs or conflicting in >> system32 that takes precendence over something shipped with OSGeo4W (see >> also >> [0]) >> >> > I'm not used with dependency walker, can you tell me the command I should > run to call it from GRASS cli? I already have it in %OSGEO4W_ROOT%\bin > folder. try: (1) add following lines in C:\OSGeo4W64\bin\grass78.bat @echo off rem # rem # rem # GRASS initialization bat script (OSGeo4W) rem # rem # rem rem Set environmental variables rem call "%~dp0\o4w_env.bat" call py3_env.bat call "%OSGEO4W_ROOT%\apps\grass\grass78\etc\env.bat" @echo off rem do a dependency walk rem add these 2 lines here for %%d in (%GISBASE%\lib\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_lib.log %%d for %%e in (%GISBASE%\bin\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_bin.log %%e rem rem Launch GRASS GIS rem "%GRASS_PYTHON%" "%GISBASE%\etc\grass78.py" %* rem rem Pause on error rem if %ERRORLEVEL% GEQ 1 pause (2) start OSGeo4W winGRASS7.8.1; you have to wait some minutes while dependency walker is working (3) go to %APPDATA%\GRASS7 (just copy/paste this into the windows explorer); here it opens as C:\Users\YourUsername\AppData\Roaming\GRASS7 (4) in this folder, there are 2 files: depwalk_lib.log depwalk_bin.log (5) open these 2 files in a texteditor, e.g. notepad++ and search for gdal3, here e.g. in depwald_lib.log: [ 6] c:\osgeo4~1\apps\grass\grass78\lib\LIBGRASS_GPROJ.7.8.DLL [ E ] c:\osgeo4~1\apps\msys\bin\LIBINTL-8.DLL [ ^6] c:\windows\system32\KERNEL32.DLL [F^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\windows\system32\MSVCRT.DLL [ ^6] c:\osgeo4~1\bin\PROJ_6_2.DLL [ ^6] c:\osgeo4~1\bin\GDAL300.DLL <<== [ ^6] c:\osgeo4~1\apps\grass\grass78\lib\LIBGRASS_GIS.7.8.DLL that means LIBGRASS_GPROJ.7.8.DLL is looking for GDAL300.DLL in c:\osgeo4~1\bin\ - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-user] WinGRASS build up (WIP)
Hi Helmut, What is gdalinfo --version in the OSGeo4W shell telling? > C:\OSGeo4W64>gdalinfo --version GDAL 3.0.2, released 2019/10/28 Thank you very much! Best regards, Pedro ___ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev