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

GRASS GIS trac at osgeo.org
Sun Nov 2 13:49:31 PST 2014


#2145: wxGUI network analysis tool: fails to launch in French locale
-----------------------+----------------------------------------------------
  Reporter:  mlennert  |       Owner:  grass-dev@…              
      Type:  defect    |      Status:  reopened                 
  Priority:  normal    |   Milestone:  7.0.0                    
 Component:  wxGUI     |     Version:  svn-trunk                
Resolution:            |    Keywords:  network analysis tool    
  Platform:  Linux     |         Cpu:  Unspecified              
-----------------------+----------------------------------------------------
Changes (by mlennert):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I've got bitten by a similar bug using a fresh 7.0 release branch:


 {{{
 Traceback (most recent call last):
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/lmgr/frame.py", line 778, in OnVNet

 self.GetMapDisplay().OnVNet(event)
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/mapdisp/frame.py", line 1419, in
 OnVNet

 self.dialogs['vnet'] = VNETDialog(parent=self,
 giface=self._giface)
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/vnet/dialogs.py", line 122, in
 __init__

 self._createPointsPage()
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/vnet/dialogs.py", line 209, in
 _createPointsPage

 self.list = PtsList(parent = pointsPanel, vnet_mgr =
 self.vnet_mgr)
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/vnet/dialogs.py", line 1007, in
 __init__

 self.SetData(iPt, pt_dt)
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/vnet/dialogs.py", line 1090, in
 SetData

 self.EditCellKey(key, k, v)
   File "/home/mlennert/SRC/grass70_release/dist.i686-pc-
 linux-gnu/gui/wxpython/vnet/widgets.py", line 248, in
 EditCellKey

 self.SetStringItem(index, colNum, str(cellVal))
 UnicodeEncodeError
 :
 'ascii' codec can't encode character u'\xe9' in position 10:
 ordinal not in range(128)
 }}}

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



More information about the grass-dev mailing list