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

GRASS GIS trac at osgeo.org
Wed Sep 11 13:35:29 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 hamish):

 Replying to [comment:24 glynn]:
 > Add-on packages don't normally care about the minor version, so
 > a package built for 2.7 should work with 2.7.<anything>.

 As seen in the pdf screenshot, the trouble comes with "import re", which I
 think(??) is a built-in.

 We recently saw the same trouble here with 'import re' -> no MAXREPEAT and
 6.4.3 on a Windows 7 laptop, where there was a slightly older python
 version of 2.7(.2?) installed to C:\Python, which I guessed came with a
 separate OSGeo4W install(?). For us it was a new laptop not doing anything
 else so we could uninstall the non-grass Python from the control panel and
 then all was good.

 Are we prepending to the PYTHONPATH instead of adding the grass paths to
 the end of it? (hopefully the GRASS versions get picked up first then)
 AFAIK env.bat & friends in the stand-alone installer now explicitly set
 GRASS_PYTHON with with the full path to grass's python.exe.


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

More information about the grass-dev mailing list