#2614: wxgui Output save fails with UnicodeEncodeError
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  7.0.1                    
Component:  wxGUI        |     Version:  7.0.0                    
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Steps to reproduce:
  * in Command console tab click on "save button"
  * choose any file where to save output
  * observe an error printed in command console:
 {{{
 Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
 7.0.0\gui\wxpython\gui_core\goutput.py", line 387, in
 OnOutputSave

 output.write(text)
 UnicodeEncodeError
 :
 'ascii' codec can't encode character u'\u012b' in position
 273: ordinal not in range(128)
 }}}
 Priority is Major, as it creates 0 byte size files. I lost another error
 message due to not checking file contents after save :(

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

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to