Opened 12 years ago

Closed 12 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?

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

Change History (4)

comment:1 Changed 12 years ago by 4everskiff

Component: defaultPython
Version: unspecified6.3.0

comment:2 Changed 12 years ago by 4everskiff

Summary: vector layer query failedWinGRASS wxPython GUI: vector layer query failed

comment:3 Changed 12 years ago by martinl

Cc: grass-dev@… added
Keywords: gui wxpython windows added
Milestone: 6.4.06.3.1
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

comment:4 Changed 12 years ago by martinl

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.