WinGRASS errors: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):
Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):


<font size="+1">
== The winGRASS program exits immediately after I start it! ==
'''Q:''' The winGRASS program exits immediately after I start it!


'''A:''' You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].
: If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5555 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.</font> (on the same wizard page offering to download sample datasets)
: If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5555 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 wizard page offering to download sample datasets).
----


'''Q:''' Error message "ImportError: cannot import name MAXREPEAT"
== 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.
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.


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


'''Q:''' Error message "The ordinal 63 could not be located in the dynamic link libexpat.dll."
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.


'''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.
== Error message "The ordinal 32 could not be located in the dynamic link library proj.dll." ==


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


'''Q:''' Error message "The ordinal 32 could not be located in the dynamic link library proj.dll."
== The winGRASS user interface shows up in the wrong language for me! ==


'''A:''' You have likely an old "proj.dll" in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.  
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.


----
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==


'''Q:''' The winGRASS user interface shows up in the wrong language for me!
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page


'''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.
== Error message "This application has failed to start because libintl3.dll was not found". (or libiconv2.dll and/or regex2.dll) ==


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


'''Q:''' This and that is not functioning in my winGRASS installation!
== Perhaps I got platform specific issues! ==


'''A:''' May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page
OK, check the comments for winGRASS on [[WinGRASS_Current_Status#XP.2F2000|XP/2000]] or [[WinGRASS_Current_Status#Windows7|Windows7]]
 
----
'''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 [[WinGRASS_Current_Status#XP.2F2000|XP/2000]] or [[WinGRASS_Current_Status#Windows7|Windows7]]


== See also ==
== See also ==

Revision as of 19:46, 10 September 2013

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

The winGRASS program exits immediately after I start it!

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 wizard page offering to download sample datasets).

Error message "ImportError: cannot import name MAXREPEAT"

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.

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

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.

Error message "The ordinal 32 could not be located in the dynamic link library proj.dll."

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

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

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.

This and that is not functioning in my winGRASS installation!

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

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

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

Perhaps I got platform specific issues!

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

See also