[GRASS-dev] [GRASS GIS] #1292: Profile tool incorrectly processes no data values

GRASS GIS trac at osgeo.org
Thu Mar 3 12:41:14 EST 2011


#1292: Profile tool incorrectly processes no data values
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.1                    
Component:  wxGUI        |     Version:  6.4.1 RCs                
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 To reproduce error, just create a profile over empy part of map.

 WinGRASS-6.4.1RC1-1 on Windows Vista


 {{{
 Traceback (most recent call last):
   File "C:\Program
 Files\GRASS-64\etc\wxpython\gui_modules\mapdisp.py", line
 1665, in Profile

 self.profile.OnSelectRaster(None)
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 241, in
 OnSelectRaster
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
 OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 490, in
 DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 283, in __init__
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 124, in __init__
 ValueError
 :
 invalid literal for float(): *
 Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 241, in
 OnSelectRaster
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
 OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 490, in
 DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 283, in __init__
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 124, in __init__
 ValueError
 :
 invalid literal for float(): *
 Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
 OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/profile.py", line 523, in
 DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 986, in Draw
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 1012, in _Draw
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
 -msw-unicode\wx\lib\plot.py", line 388, in boundingBox
 IndexError
 :
 list index out of range
 }}}

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



More information about the grass-dev mailing list