[GRASS-dev] [GRASS GIS] #2260: wxGUI: encoding error in French locale when trying to delete layer with opacity level set

GRASS GIS trac at osgeo.org
Wed Apr 23 02:30:13 PDT 2014


#2260: wxGUI: encoding error in French locale when trying to delete layer with
opacity level set
------------------------------------+---------------------------------------
 Reporter:  mlennert                |       Owner:  grass-dev@…              
     Type:  defect                  |      Status:  new                      
 Priority:  normal                  |   Milestone:  7.0.0                    
Component:  wxGUI                   |     Version:  unspecified              
 Keywords:  wxGUI opacity encoding  |    Platform:  Unspecified              
      Cpu:  Unspecified             |  
------------------------------------+---------------------------------------
 {{{
 > locale
 LANG=fr_BE
 LANGUAGE=fr_BE
 LC_CTYPE=fr_BE.UTF-8
 LC_NUMERIC=C
 LC_TIME=fr_BE.UTF-8
 LC_COLLATE=fr_BE.UTF-8
 LC_MONETARY=fr_BE.UTF-8
 LC_MESSAGES=fr_BE.UTF-8
 LC_PAPER=fr_BE.UTF-8
 LC_NAME=fr_BE.UTF-8
 LC_ADDRESS=fr_BE.UTF-8
 LC_TELEPHONE=fr_BE.UTF-8
 LC_MEASUREMENT=fr_BE.UTF-8
 LC_IDENTIFICATION=fr_BE.UTF-8
 LC_ALL=
 }}}


 - Add a layer.

 - Set its opacity level.

 - Try to delete the layer from the layer manager:


 {{{
 Traceback (most recent call last):
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/lmgr/frame.py", line
 2050, in OnDeleteLayer

 name = str(self.GetLayerTree().GetItemText(item))
 UnicodeEncodeError
 :
 'ascii' codec can't encode character u'\xe9' in position 19:
 ordinal not in range(128)
 }}}

 Bug present in all branches.

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



More information about the grass-dev mailing list