Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
W dniu 21.09.2010 10:36, Glynn Clements pisze: Maciej Sieczka wrote: Dependency Walker http://www.dependencywalker.com/ says: --- Error: The Side-by-Side configuration information for c:\program files\grass-64\extralib\LIBPQ.DLL contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Error: At least one required implicit or forwarded dependency was not found. [ ? ] MSVCR80.DLL Error opening file. The system cannot find the file specified (2). [D? ] IESHIMS.DLL Error opening file. The system cannot find the file specified (2). [D? ] WER.DLL Error opening file. The system cannot find the file specified (2). Apparently, IESHIMS.DLL and WER.DLL are specific to Vista and later. They shouldn't be required (and probably won't even work) on other platforms, but Dependency Walker complains about any DLLs which it can't find, regardless of whether they're actually required. All of my GRASS executables cause Dependency Walker to complain about a missing MSJAVA.DLL (required by MSHTML.DLL), but they still work. The missing MSVCR80.DLL would be a real problem. This file is part of the Visual Studio 2005 runtime. People often forget to bundle the MSVCRxx.DLL files because so many systems already have them (although they aren't part of the OS install), so the error is only discovered when installing on a relatively clean system. I have scratch-installed Windows XP SP3, fetched all updates, installed GRASS 6.4.0. As expected, many commands crashed with an The application failed to initialize properly error. According to Dependency Walker, missing were MSVCR80.DLL, MSVCR90.DLL, IESHIMS.DLL and WER.DLL. Installing MS Visual C++ 2008 SP1 Redistributable Package [1] and the 2005 one [2] fixed the issue. IESHIMS.DLL and WER.DLL are still missing but it doens't do any harm to my GRASS instalation, AFAICT. Can Win GRASS installer ship MSVCR80.DLL and MSVCR90.DLL? [1] http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2 [2] http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647 -- Maciej Sieczka http://www.sieczka.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Hi, Maciej Sieczka wrote: [...] Can Win GRASS installer ship MSVCR80.DLL and MSVCR90.DLL? AFAICT at the moment the WinGrassXX-installer ships msvcr71.dll (C:\Program Files\GRASS-64-SVN\extralib) which is inherited from the osgeo4w-build-environment. in C:\OSGeo4W\lib of the wingrass-build-environment there are following files: libmsvcr70.a libmsvcr70d.a libmsvcr71.a libmsvcr71d.a libmsvcr80.a libmsvcr80d.a libmsvcr90.a libmsvcr90d.a what would be the best way to include the higher versions of the ddls? Helmut ___ Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02 smime.p7s Description: S/MIME Cryptographic Signature ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Maciej Sieczka wrote: Ideas, anybody? Another possibility is an incompatible version of one of the (many) libraries which GDAL uses. Do the GDAL utilities (gdalinfo etc) work? They don't. Same error. Dependency Walker http://www.dependencywalker.com/ says: --- Error: The Side-by-Side configuration information for c:\program files\grass-64\extralib\LIBPQ.DLL contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Error: At least one required implicit or forwarded dependency was not found. [ ? ] MSVCR80.DLL Error opening file. The system cannot find the file specified (2). [D? ] IESHIMS.DLL Error opening file. The system cannot find the file specified (2). [D? ] WER.DLL Error opening file. The system cannot find the file specified (2). --- Full output attached (g.region.txt.bz2). I found a copy of MSVCR80.DLL in C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd and copied it to C:\WINDOWS\system. It should be system32. This got rid of that one missing dependency, still the other two remain. And there is no trace of them on my system. By google they seem to be related to some MS Movie Maker issue (I haven't tried searching hard I admit). Time to reinstall Windows :)? Apparently, IESHIMS.DLL and WER.DLL are specific to Vista and later. They shouldn't be required (and probably won't even work) on other platforms, but Dependency Walker complains about any DLLs which it can't find, regardless of whether they're actually required. All of my GRASS executables cause Dependency Walker to complain about a missing MSJAVA.DLL (required by MSHTML.DLL), but they still work. The missing MSVCR80.DLL would be a real problem. This file is part of the Visual Studio 2005 runtime. People often forget to bundle the MSVCRxx.DLL files because so many systems already have them (although they aren't part of the OS install), so the error is only discovered when installing on a relatively clean system. -- Glynn Clements gl...@gclements.plus.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
W dniu 14.09.2010 15:46, Maciej Sieczka pisze: W dniu 14.09.2010 00:59, Glynn Clements pisze: Maciej Sieczka wrote: Ideas, anybody? Another possibility is an incompatible version of one of the (many) libraries which GDAL uses. Do the GDAL utilities (gdalinfo etc) work? They don't. Same error. Dependency Walker http://www.dependencywalker.com/ says: --- Error: The Side-by-Side configuration information for c:\program files\grass-64\extralib\LIBPQ.DLL contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Error: At least one required implicit or forwarded dependency was not found. [ ? ] MSVCR80.DLL Error opening file. The system cannot find the file specified (2). [D? ] IESHIMS.DLL Error opening file. The system cannot find the file specified (2). [D? ] WER.DLL Error opening file. The system cannot find the file specified (2). --- Full output attached (g.region.txt.bz2). I found a copy of MSVCR80.DLL in C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd and copied it to C:\WINDOWS\system. This got rid of that one missing dependency, still the other two remain. And there is no trace of them on my system. By google they seem to be related to some MS Movie Maker issue (I haven't tried searching hard I admit). Time to reinstall Windows :)? Maciek -- Maciej Sieczka http://www.sieczka.org g.region.txt.bz2 Description: application/bzip ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
W dniu 14.09.2010 00:59, Glynn Clements pisze: Maciej Sieczka wrote: Ideas, anybody? Another possibility is an incompatible version of one of the (many) libraries which GDAL uses. Do the GDAL utilities (gdalinfo etc) work? They don't. Same error. -- Maciej Sieczka http://www.sieczka.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
W dniu 11.09.2010 21:38, Glynn Clements pisze: Maciej Sieczka wrote: Lots of commands (e.g. g.proj, g.region, g.remove) That list looks suspiciously like programs which use GDAL. You might want to check whether there are other versions of GDAL on your system, particularly if they are in %PATH%. Thanks for the hint. No trace of GDAL in system and user variables AFAICT. My PATH on cmd GRASS concole: GRASS 6.4.0 (demolocation) echo %PATH% C:\Program Files\GRASS-64\bin;C:\Program Files\GRASS-64\lib;C:\Program Files\GRASS-64\tcl-tk\bin;C:\Program Files\GRASS-64\sqlite\bin;C:\Program Files\GRASS-64\gpsbabel;C:\Program Files\GRASS-64\extrabin;C:\Program Files\GRASS-64\extralib;C:\Program Files\GRASS-64\msys\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem PATH on msys GRASS console: GRASS 6.4 echo $PATH /C/Program Files/GRASS-64/lib:/C/Program Files/GRASS-64/bin:/C/Program Files/GRASS-64/scripts:/C/Program Files/GRASS-64/tcl-tk/bin:/C/Program Files/GRASS-64/sqlite/bin:/C/Program Files/GRASS-64/gpsbabel:/C/Program Files/GRASS-64/extrabin:/C/Program Files/GRASS-64/extralib:.:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem I have these 2 GDAL libs installed there: GRASS 6.4 ls /c/Program\ Files/GRASS-64/extralib/*gdal* /c/Program Files/GRASS-64/extralib/gdal15.dll /c/Program Files/GRASS-64/extralib/gdal16.dll Ideas, anybody? Best, Maciek -- Maciej Sieczka http://www.sieczka.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Maciej Sieczka wrote: Ideas, anybody? Another possibility is an incompatible version of one of the (many) libraries which GDAL uses. Do the GDAL utilities (gdalinfo etc) work? -- Glynn Clements gl...@gclements.plus.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Hi there, Not sure this is related -- sorry if I should have started a new thread. I have a WinGRASS-6.4.SVN daily build of last May 29 installed in C:/Program Files on Windows 7, and have been running a set of GRASS shell scripts no problem under this setup. Now I have installed also WinGRASS-6.4.0-1, and running the same scripts brings up some issues. In particular, it seems that 6.4.0-1 has trouble deleting vectors via g.mremove, which also Maciek reported as problematic and that is why I replied to the present thread. For example, a cleanup subroutine in a script includes the following command: g.mremove -f vect=map* that in 6.4.SVN works fine: ... Removing vector mapBloomday_Olive_11set10_Avg ... while in 6.4.0-1 doesn't: ... Removing vector mapBloomday_Olive_11set10_Avg ATTENZIONE: Unable to delete file 'C:\cygwin\home\andy/latlong/luigi/vector/mapBloomday_Olive_11set10_Avg/hist' ATTENZIONE: couldn't be removed ATTENZIONE: mapBloomday_Olive_11set10_Avg nothing removed ... and it fails to delete three more vectors the same way. However, rasters do get deleted. In my %PATH%, I see no sign of GDAL. I do have two versions of winGRASS around, but for that matter also a Cygwin version and an OSGeo4W one. (Unrelated: is there a way to get GRASS messages 100% in English while working in an Italian locale?) Regards, Luigi -- Message: 2 Date: Sat, 11 Sep 2010 20:38:41 +0100 From: Glynn Clements gl...@gclements.plus.com Subject: Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows To: Maciej Sieczka msiec...@sieczka.org Cc: grass-user grass-user@lists.osgeo.org, GRASS developers list grass-...@lists.osgeo.org Message-ID: 19595.56001.390451.709...@cerise.gclements.plus.com Content-Type: text/plain; charset=us-ascii Maciej Sieczka wrote: Lots of commands (e.g. g.proj, g.region, g.remove) That list looks suspiciously like programs which use GDAL. You might want to check whether there are other versions of GDAL on your system, particularly if they are in %PATH%. -- Glynn Clements gl...@gclements.plus.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Hi Maciek, I just installed latest WinGRASS on Win7 64bit, run 2 of mentioned by you commands and they worked as they should. Milena PS. See you on Monday 2010/9/11 Maciej Sieczka msiec...@sieczka.org: Hi, Lots of commands (e.g. g.proj, g.region, g.remove) on my instalation of Windows GRASS 6.4.0 and the latest SVN snapshot (WinGRASS-6.4.SVN-r43430-1-Setup.exe) fail to run and an error window pops up (attached), saying: The application failed to initialize properly (0xc0150002). This a Virtulabox (3.2.8 non-free) running Windows Prof. SP3 32bit under Debian Squeeze amd64. I don't have a real Windows box at hand if the problem takes place on my system only. Does anybody experience similar errors on Windows? Maciek -- Maciej Sieczka http://www.sieczka.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- Milena Nowotarska http://wiki.osgeo.org/wiki/Milena_Nowotarska http://quantum-gis.pl/ http://www.qgis.org/wiki/4._QGIS_Hackfest_in_Wroclaw_2010 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] lots of The application failed to initialize properly in 6.4.0 on Windows
Maciej Sieczka wrote: Lots of commands (e.g. g.proj, g.region, g.remove) That list looks suspiciously like programs which use GDAL. You might want to check whether there are other versions of GDAL on your system, particularly if they are in %PATH%. -- Glynn Clements gl...@gclements.plus.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user