[GRASS-dev] [GRASS GIS] #1378: Error when clicking 'Set Font' dialog in wxGUI settings

GRASS GIS trac at osgeo.org
Tue May 31 09:15:28 EDT 2011


#1378: Error when clicking 'Set Font' dialog in wxGUI settings
---------------------------------------------+------------------------------
 Reporter:  epatton                          |       Owner:  grass-dev@…              
     Type:  defect                           |      Status:  new                      
 Priority:  normal                           |   Milestone:  6.5.0                    
Component:  wxGUI                            |     Version:  svn-develbranch6         
 Keywords:  wxgui, font, set font, settings  |    Platform:  Linux                    
      Cpu:  x86-32                           |  
---------------------------------------------+------------------------------
 Using Grass 6.5.svn, r46473:

 Start Grass in the nc_basic_spm, then open the GUI settings dialog, next,
 go to the Appearance tab and click 'Set Font', which should give the
 following error:


 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/pr
 eferences.py", line 2011, in OnSetOutputFont

 type = 'outputfont')
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/pr
 eferences.py", line 2151, in __init__

 self.spin.SetValue(self.fontsize)
   File "/usr/lib/python2.7/dist-
 packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 2302, in
 SetValue

 return _controls_.SpinCtrl_SetValue(*args, **kwargs)
 TypeError
 :
 in method 'SpinCtrl_SetValue', expected argument 2 of type
 'int'

 }}}

 ~ Eric.

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



More information about the grass-dev mailing list