[GRASS-dev] [GRASS GIS] #2145: wxGUI network analysis tool: fails to launch in French locale

GRASS GIS trac at osgeo.org
Wed Dec 18 00:48:53 PST 2013


#2145: wxGUI network analysis tool: fails to launch in French locale
-----------------------------------+----------------------------------------
 Reporter:  mlennert               |       Owner:  grass-dev@…              
     Type:  defect                 |      Status:  new                      
 Priority:  normal                 |   Milestone:  7.0.0                    
Component:  wxGUI                  |     Version:  svn-trunk                
 Keywords:  network analysis tool  |    Platform:  Linux                    
      Cpu:  Unspecified            |  
-----------------------------------+----------------------------------------
 In an environment with LANG=fr_BE.utf8, trying to launch the Vector
 network analysis tool, gives the following error in the command console
 (and the tool is not launched):


 {{{
 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
 753, in OnVNet

 self.GetMapDisplay().OnVNet(event)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/mapdisp/frame.py", line
 1233, in OnVNet

 self.dialogs['vnet'] = VNETDialog(parent=self,
 giface=self._giface)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/vnet/dialogs.py", line
 122, in __init__

 self._createPointsPage()
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/vnet/dialogs.py", line
 209, in _createPointsPage

 self.list = PtsList(parent = pointsPanel, vnet_mgr =
 self.vnet_mgr)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/vnet/dialogs.py", line
 1003, in __init__

 self.AddItem()
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/vnet/widgets.py", line
 181, in AddItem

 self.Append(map(str, itemData))
 UnicodeEncodeError
 :
 'ascii' codec can't encode character u'\xe7' in position
 219: ordinal not in range(128)
 }}}

 Moritz

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



More information about the grass-dev mailing list