[GRASS-dev] Re: [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

GRASS GIS trac at osgeo.org
Thu Apr 8 03:17:15 EDT 2010


#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  martinl            
      Type:  defect           |      Status:  assigned           
  Priority:  blocker          |   Milestone:  6.4.0              
 Component:  wxGUI            |     Version:  svn-releasebranch64
Resolution:                   |    Keywords:  wingrass, i18n     
  Platform:  MSWindows Vista  |         Cpu:  Unspecified        
------------------------------+---------------------------------------------
Comment (by marisn):

 Location Wizard still fails on Vista WinGRASS-6.4.SVN-r41749-1
 {{{
 Traceback (most recent call last):
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 418,
 in OnW
 izard
     grassdatabase = self.tgisdbase.GetValue())
   File "c:\osgeo4w\usr\src\grass64_release\dist.i686-pc-
 mingw32\etc\wxpython\gui
 _modules\location_wizard.py", line 1853, in __init__
   File "c:\osgeo4w\usr\src\grass64_release\dist.i686-pc-
 mingw32\etc\wxpython\gui
 _modules\location_wizard.py", line 2011, in OnWizFinished
   File "C:\Program Files\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py",
 line 60
 9, in RunCommand
     ps = grass.start_command(prog, flags, overwrite, quiet, verbose,
 **kwargs)
   File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
 mingw32\etc\python\grass
 \script\core.py", line 145, in start_command
   File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
 mingw32\etc\python\grass
 \script\core.py", line 52, in __init__
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 594, in
 __init__
     errread, errwrite)
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 816, in
 _execute_child
     startupinfo)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0161' in
 position 7
 9: ordinal not in range(128)
 }}}

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


More information about the grass-dev mailing list