[GRASS-dev] [GRASS GIS] #1291: Profile tool fails to close if legend text contains non-latin letters

GRASS GIS trac at osgeo.org
Thu Mar 3 11:53:42 EST 2011


#1291: Profile tool fails to close if legend text contains non-latin letters
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.1                    
Component:  wxGUI        |     Version:  svn-releasebranch64      
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Steps to reproduce:
  * Start wx profile tool
  * Profile options -> Profile plot settings
  * Change "Transsect segment marker" legend text to "āšņļ"
  * As there is no OK button (WTF? Designed for Mac users?!?), click "Save"
 to close this window
  * KaBOOM!
 WinGRASS-6.4.SVN-r45518-1 on Windows Vista
 {{{
 Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 1440, in
 OnSave
   File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/preferences.py", line 801,
 in SaveToFile
 gui_modules.gcmd
 .
 GException
 :
 Writing settings to file <C:\Users\tests\.grasswx6> failed.
 Details: 'ascii' codec can't encode character u'\u0113' in
 position 7: ordinal not in range(128)

 }}}

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



More information about the grass-dev mailing list