#149: vector layer query failed
---------------------+------------------------------------------------------
Reporter: timmie | Owner: grass-dev@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