[GRASS-dev] [GRASS GIS] #862: winGRASS path detection fails in Japanese locale (¥ instead of \ is used for c:\ etc)

GRASS GIS trac at osgeo.org
Mon Jan 11 23:18:00 EST 2010


#862: winGRASS path detection fails in Japanese locale (¥ instead of \ is used
for c:\ etc)
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  blocker  |   Milestone:  6.4.0                    
Component:  default  |     Version:  svn-releasebranch64      
 Keywords:           |    Platform:  MSWindows XP             
      Cpu:  All      |  
---------------------+------------------------------------------------------
 There is a failure in interpreting the GRASS paths in Japanese locale:

 {{{
 C:¥Program Files¥GRASS-6-SVN>g.gui help
 'g.gui' は、内部コマンドまたは外部コマンド、
 操作可能なプログラムまたはバッチ ファイルとして認識されていません。
 }}}

 (Rough Translation: "g.gui internal or external command,
 Not recognized as an operable program or batch file.")

 If I change directly into the GRASS binary path, it works:
 {{{
 C:¥Program Files¥GRASS-6-SVN>cd bin

 C:¥Program Files¥GRASS-6-SVN¥bin>g.gui help

 Description:
  Launches a GRASS graphical user interface (GUI) session.
 ...
 }}}

 The paths look like this:
 {{{
 C:¥Program Files¥GRASS-6-SVN¥bin>path
 PATH=C:¥PROGRA‾1¥GRASS-6-SVN¥tcl-
 tk¥bin;C:¥PROGRA‾1¥GRASS-6-SVN¥sqlite¥bin;C:¥PR
 OGRA‾1¥GRASS-6-SVN¥gpsbabel;C:¥PROGRA‾1¥GRASS-6-SVN¥extrabin;C:¥PROGRA‾1¥GRASS-6
 -SVN¥extralib;C:¥PROGRA‾1¥GRASS-6-SVN¥msys¥bin;C:¥Program
 Files¥ruby¥bin;C:¥Prog
 ram
 Files¥ThinkPad¥Utilities;C:¥WINDOWS¥system32;C:¥WINDOWS;C:¥WINDOWS¥System32¥
 Wbem;C:¥Program Files¥IBM ThinkVantage¥Client Security
 Solution;C:¥ms4w¥Apache¥c
 gi-bin;C:¥Program Files¥MySQL¥MySQL Server 5.1¥bin
 }}}

 The same will apply to Chinese, Korean, various Indian etc. locales.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/862>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list