[GRASS-dev] [GRASS GIS] #149: vector layer query failed

GRASS GIS trac at osgeo.org
Tue Apr 29 07:09:35 EDT 2008


#149: vector layer query failed
---------------------+------------------------------------------------------
 Reporter:  timmie   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.4.0                    
Component:  default  |     Version:  unspecified              
 Keywords:           |  
---------------------+------------------------------------------------------
 Querying a vector layer in wxpython windows native causes the GUI to
 crash:

 Traceback (most recent call last):
   File "c:\GRASS\etc\wxpython\gui_modules\mapdisp.py", line 3082, in
 AddBarscale
     self.Map.Render(force=True)
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 632, in Render
     if not layer.Render():
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 129, in Render
     if runcmd.returncode != 0:
 UnboundLocalError: local variable 'runcmd' referenced before assignment
 Traceback (most recent call last):
   File "c:\GRASS\etc\wxpython\gui_modules\mapdisp.py", line 3138, in
 AddLegend
     self.Map.Render(force=True)
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 632, in Render
     if not layer.Render():
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 129, in Render
     if runcmd.returncode != 0:
 UnboundLocalError: local variable 'runcmd' referenced before assignment
 Traceback (most recent call last):
   File "c:\GRASS\etc\wxpython\gui_modules\mapdisp.py", line 3214, in
 AddText
     self.MapWindow.UpdateMap()
   File "c:\GRASS\etc\wxpython\gui_modules\mapdisp.py", line 559, in
 UpdateMap
     self.mapfile = self.Map.Render(force=True, mapWindow=self.parent)
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 632, in Render
     if not layer.Render():
   File "c:\GRASS\etc\wxpython\gui_modules\render.py", line 129, in Render
     if runcmd.returncode != 0:
 UnboundLocalError: local variable 'runcmd' referenced before assignment

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


More information about the grass-dev mailing list