Opened 16 years ago

Closed 16 years ago

#264 closed defect (fixed)

error querying a layer being edited

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: All Platform: All

Description

  1. start editing a vector map
  1. try to query a feature (using the query tool from the main, top menu) - error on the terminal:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/goutput.py", line 86, in run
    event = wxCmdDone(aborted=self.requestCmd.aborted,
AttributeError: 'NoneType' object has no attribute 'aborted'

and in the wxGUI output window:

(Thu Aug 28 15:32:49 2008)                                                      
v.what --q -a map=streams@PERMANENT east_north=602156.326628,4920765.007467 distance=157.149374                                                      
ERROR: You must build topology on vector map
<streams@PERMANENT>

If querying a map being edited is not to be supported, the main-menu query tool should be disabled for a vector map being edited (or, get rid of the editor's own query tool and integrate it with main-menu one).

Change History (2)

comment:1 by martinl, 16 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

I have disabled query editable mode when selected layer is currently opened for editing. Then you should use "display/update attributes" from vdigit toolbar - devbr6 (r33159) and trunk (r33160).

comment:2 by martinl, 16 years ago

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