[GRASS-dev] [GRASS GIS] #1295: Wx location wizard fails to create location if it's title contains non-latin letters

GRASS GIS trac at osgeo.org
Fri Mar 4 04:31:05 EST 2011


#1295: Wx location wizard fails to create location if it's title contains non-
latin letters
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.1                    
Component:  wxGUI        |     Version:  6.4.1 RCs                
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Start location wizard. Enter as a location title "āžņļ". Prceed till end.
 Location is created, still new location is not listed on location list
 unless GRASS is restarted.
 {{{
 Traceback (most recent call last):
   File "C:/Program Files/GRASS-64/etc/wxpython/gis_set.py", line 411, in
 OnWizar
 d
     grassdatabase = self.tgisdbase.GetValue())
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_
 modules/location_wizard.py", line 1828, in __init__
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_
 modules/location_wizard.py", line 2020, in OnWizFinished
   File "C:\Program Files\GRASS-64\etc\python\grass\script\core.py", line
 1015, i
 n create_location
     fd.write(desc + os.linesep)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0122' in
 position 0
 : ordinal not in range(128)
 }}}

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



More information about the grass-dev mailing list