[GRASS-dev] [GRASS GIS] #1941: wxGUI fails with Japanese locale --> mixed Python installs on Windows

GRASS GIS trac at osgeo.org
Sat Sep 14 02:29:43 PDT 2013


#1941: wxGUI fails with Japanese locale --> mixed Python installs on Windows
----------------------+-----------------------------------------------------
 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 martinl):

 Replying to [comment:22 mlennert]:

 > > Ah, OK, it's probably caused by the fact that the standalone installer
 puts `python27.dll` to the different directory (ie. `extralib`) compared
 to `python.exe` (`extrabin`). Directory `extralib` is in the path
 source:grass/trunk/mswindows/env.bat#L17, but it's probably not enough.
 The problem could be solved by moving `python27.dll` to `extrabin`. Then
 we could probably move all DLL files to `extrabin` and get rid of this
 directory. It's comment practice to have DLL files together with EXE files
 in the same directory. I don't know why the standalone installer separates
 them to the two different directories, ie. `extrabin` and `extralib`.
 >
 > Try it,

 it helped, GRASS now starts, python scripts called from command line also
 starts. My suggestion is to apply patches r57639 and r57646 also in GRASS
 6.x, ie. to remove `extralib` directory from standalone installer. Any
 objections?

 > but ISTR that there is also an issue with the Windows registry, i.e.
 that the dlls called depend on registry entries (I think that this came up
 as a problem at least in the case of python scripts called from python
 scripts).

 Right, it's open issue.

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



More information about the grass-dev mailing list