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

GRASS GIS trac at osgeo.org
Sun Mar 14 14:32:27 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 in Windows Vista WinGRASS-6.4.SVN-r41428-1:

 {{{
 C:\Program Files\GRASS-64-
 SVN\etc\wxpython\gui_modules\location_wizard.py:2002:
 UnicodeWarning: Unicode unequal comparison failed to convert both
 arguments to U
 nicode - interpreting them as being unequal
   if current_gdb != database:
 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:\Program Files\GRASS-64-
 SVN\etc\wxpython\gui_modules\location_wizard.p
 y", line 1853, in __init__
     msg = self.OnWizFinished()
   File "C:\Program Files\GRASS-64-
 SVN\etc\wxpython\gui_modules\location_wizard.p
 y", line 2011, in OnWizFinished
     set='GISDBASE=%s' % database)
   File "C:\Program Files\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py",
 line 60
 8, 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'\u0160' in
 position 7
 9: ordinal not in range(128)
 }}}

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


More information about the grass-dev mailing list