[GRASS-dev] [GRASS GIS] #1711: Plot settings in profiler now broken

GRASS GIS trac at osgeo.org
Sat Aug 25 08:38:22 PDT 2012


#1711: Plot settings in profiler now broken
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  6.4.3                    
Component:  Default      |     Version:  svn-releasebranch64      
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by cmbarton):

 I spoke too soon. You can open the settings in GRASS 7 and some of them
 work. But hitting apply or save raises the following error:

 {{{
 Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/gui/wxpython/wxplot/dialogs.py"
 , line 1231, in OnApply

 self.parent.SetGraphStyle()
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/gui/wxpython/wxplot/base.py",
 line 299, in SetGraphStyle

 self.client.SetEnableGrid(self.properties['grid']['enabled']
 )
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 895, in SetEnableGrid

 self.Redraw()
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 1264, in Redraw

 self._Draw(graphics,xAxis,yAxis,dc)
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 1258, in _Draw

 self._adjustScrollbars()
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 1855, in _adjustScrollbars

 r_max = list(self._getYMaxRange())
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 1067, in _getYMaxRange

 yAxis = self._axisInterval(self._ySpec, p1[1], p2[1])
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/lib/plot.py", line
 1665, in _axisInterval

 raise ValueError, str(spec) + ': illegal axis specification'
 ValueError
 :
 {'max': 0.0, 'type': u'auto', 'log': False, 'min': 0.0}:
 illegal axis specification
 }}}

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



More information about the grass-dev mailing list