Opened 17 years ago
Closed 17 years ago
#149 closed defect (wontfix)
WinGRASS wxPython GUI: vector layer query failed
Reported by: | timmie | Owned by: | martinl |
---|---|---|---|
Priority: | major | Milestone: | 6.3.1 |
Component: | Python | Version: | 6.3.0 |
Keywords: | gui, wxpython, windows | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | Unspecified |
Description
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
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
Change History (4)
comment:1 by , 17 years ago
Component: | default → Python |
---|---|
Version: | unspecified → 6.3.0 |
comment:2 by , 17 years ago
Summary: | vector layer query failed → WinGRASS wxPython GUI: vector layer query failed |
---|
comment:3 by , 17 years ago
Cc: | added |
---|---|
Keywords: | gui wxpython windows added |
Milestone: | 6.4.0 → 6.3.1 |
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Similar with #148, already fixed for 6.4, see
http://grass.osgeo.org/wiki/Image:Wxgui-vector-querying-windows.png
Not backported to releasebranch_6_3, close as 'wontfix'?
Martin