[GRASS-dev] [GRASS GIS] #1941: wxGUI fails with Japanese locale

GRASS GIS trac at osgeo.org
Tue Sep 10 20:01:02 PDT 2013

#1941: wxGUI fails with Japanese locale
 Reporter:  venkat    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  blocker   |   Milestone:  7.0.0                    
Component:  wxGUI     |     Version:  svn-trunk                
 Keywords:  wingrass  |    Platform:  MSWindows 7              
      Cpu:  x86-32    |  

Comment(by glynn):

 Replying to [comment:17 martinl]:

 > Usually it's caused by Python installed together with Esri ArcGIS. The
 newest version of ArcGIS 10.2 still comes with Python 2.7.3. It would be
 good to find solution on our side without overwriting system-installed

 2.7.3 should be fine for GRASS, right? So the solution should be to detect
 that the "system" Python is sufficient and not try to use the bundled
 Python (i.e. don't set PYTHONHOME, set GRASS_PYTHON to point to the system
 version, etc).

 AFAICT, the issue is that the system python27.dll (from `Windows/System32`
 or `Windows/SysWOW64`) is being used, but PYTHONHOME points to the bundled
 version of the Python standard library.

 If you can start a Python shell using the GRASS Python, you can use
 [http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx Process
 Explorer] to view the list of DLLs which are actually being used by that
 process. AFAIK, System32/SysWOW64 take precedence over everything except
 the directory containing the exe, and %PATH% comes last.

 us/library/windows/desktop/ms682586%28v=vs.85%29.aspx DLL Search Order].

Ticket URL: <https://trac.osgeo.org/grass/ticket/1941#comment:18>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list