WinGRASS errors

From GRASS-Wiki
Revision as of 17:34, 14 May 2013 by Neteler (talk | contribs) (+"ImportError: cannot import name MAXREPEAT" and solution)
Jump to navigation Jump to search

Due to the varieties of MS-Windows versions existing, a series of problems with the WinGRASS Installation have been identified (and solved):

Q: The winGRASS program exits immediately after I start it!

A: You may need to install Microsoft's .NET Framework. You can download it here.

If it still asks for MSVCP100.dll, download it here. Note that GRASS GIS 6.4.3 and later suggest to install the needed "Important Microsoft runtime libraries" already during the installation process. (on the same page that if offers to download the sample datasets)

Q: Error message "ImportError: cannot import name MAXREPEAT"

A: A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4, instead of 2.7.2, solved the problem.


Q: Error message "The ordinal 63 could not be located in the dynamic link libexpat.dll."

A: You have likely an old "libexpat.dll" in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.


Q: The winGRASS user interface shows up in the wrong language for me!

A: MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.


Q: This and that is not functioning in my winGRASS installation!

A: May happen, we are working on it :) Please visit the Errata page and the WinGRASS Current Status page


Q: Error message "This application has failed to start because libintl3.dll was not found". (or libiconv2.dll and/or regex2.dll)

A: Reinstalling of the "msys" package in the OSGeo4W installer will bring it back.


Q: Perhaps I got platform specific issues!

A: OK, check the comments for winGRASS on XP/2000 or Vista or Windows7

See also