[GRASS-dev] Re: [GRASS GIS] #1266: d.vect has problems

GRASS GIS trac at osgeo.org
Mon May 16 05:23:39 EDT 2011


#1266: d.vect has problems
----------------------+-----------------------------------------------------
  Reporter:  akbgf    |       Owner:  grass-dev@…              
      Type:  defect   |      Status:  reopened                 
  Priority:  normal   |   Milestone:  7.0.0                    
 Component:  Display  |     Version:  svn-trunk                
Resolution:           |    Keywords:  d.vect                   
  Platform:  Linux    |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------

Comment(by akbgf):

 The problem was still there in r45721, r45915, r46101, and r46198. [[BR]]
 There is some change in r46317, now I got an error message.

 % make clean [[BR]]
 % svn cleanup [[BR]]
 % svn up [[BR]]
 At revision 46317. [[BR]]
 % ./configure --enable-shared --without-mysql --without-sqlite --with-gdal
 --without-fftw --with-postgres --with-postgres-includes=/usr/include/pgsql
 --with-freetype-includes=/usr/include/freetype2 --with-freetype-
 libs=/usr/lib --with-geos=/usr/local/bin/geos-config [[BR]]
 % make [[BR]]
 % ./bin.i686-pc-linux-gnu/grass70

 I load a raster and a vector of 64 areas. [[BR]]
 The selection condition for a category (a present category) returns an
 error message in the Command console, no change in the display window.

 Andres Kuusk


 ----


 {{{
 Traceback (most recent call last):
   File "/wrk/andres/sw/linux/grass70/dist.i686-pc-linux-
 gnu/etc/gui/wxpython/gui_modules/layertree.py", line 233, in
 OnIdle

 self.mapdisplay.MapWindow.UpdateMap(render = True)
   File "/wrk/andres/sw/linux/grass70/dist.i686-pc-linux-
 gnu/etc/gui/wxpython/gui_modules/mapdisp_window.py", line
 666, in UpdateMap

 windres = windres)
   File "/wrk/andres/sw/linux/grass70/dist.i686-pc-linux-
 gnu/etc/gui/wxpython/gui_modules/render.py", line 868, in
 Render

 self._renderLayers(force, mapWindow, maps, masks, opacities)
   File "/wrk/andres/sw/linux/grass70/dist.i686-pc-linux-
 gnu/etc/gui/wxpython/gui_modules/render.py", line 812, in
 _renderLayers

 if not layer.Render():
   File "/wrk/andres/sw/linux/grass70/dist.i686-pc-linux-
 gnu/etc/gui/wxpython/gui_modules/render.py", line 158, in
 Render

 **self.cmd[1])
 TypeError
 :
 'NoneType' object is not iterable
  }}}

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



More information about the grass-dev mailing list