[GRASS-dev] [GRASS GIS] #1961: wxNVIZ: error if no raster map selected

GRASS GIS trac at osgeo.org
Sun Jun 2 08:42:59 PDT 2013


#1961: wxNVIZ: error if no raster map selected
--------------------+-------------------------------------------------------
 Reporter:  hamish  |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  major   |   Milestone:  6.4.3                    
Component:  wxGUI   |     Version:  svn-develbranch6         
 Keywords:  wxnviz  |    Platform:  All                      
      Cpu:  x86-64  |  
--------------------+-------------------------------------------------------

Comment(by annakrat):

 Replying to [comment:11 hamish]:
 > Replying to [comment:7 annakrat]:
 > > Replying to [comment:6 hamish]:
 > > > restarting the GUI in devbr6 and adding Spearfish's roads did not go
 well,
 > > > nothing rendered, lots of this repeating in the terminal:
 > > >  (.:25449): Gtk-CRITICAL **: gtk_range_set_range: assertion `min <
 max' failed
 > > >
 > > > and endless repeating tracebacks:
 > >
 > > please test r56500
 >
 >
 > still happens.
 >
 > grass7, start g.gui, add roads vector map, go to 3d mode:
 >
 >
 > {{{
 > Starting 3D view mode...
 > Vector map <roads7 at grass7> loaded (746 features)
 > Traceback (most recent call last):
 >   File "/home/hamish/src/grass/svn/trunk/dist.x86_64
 > -unknown-linux-gnu/etc/gui/wxpython/nviz/mapwindow.py", line
 > 376, in OnPaint
 >
 > self.DoPaint()
 >   File "/home/hamish/src/grass/svn/trunk/dist.x86_64
 > -unknown-linux-gnu/etc/gui/wxpython/nviz/mapwindow.py", line
 > 398, in DoPaint
 >
 > self.lmgr.nviz.UpdatePage('cplane')
 >   File "/home/hamish/src/grass/svn/trunk/dist.x86_64
 > -unknown-linux-gnu/etc/gui/wxpython/nviz/tools.py", line
 > 4570, in UpdatePage
 >
 > self.FindWindowById(self.win['cplane']['position']['z']['sli
 > der']).SetValue(zRange[0])
 >   File "/usr/lib64/python2.6/dist-
 > packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 2672, in
 > SetValue
 >
 > return _controls_.Slider_SetValue(*args, **kwargs)
 > OverflowError
 > :
 > long int too large to convert to int
 > }}}

 please try r56560

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1961#comment:13>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list