Ticket #264 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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@…
Platform: All CPU: All

Description

1. start editing a vector map

2. 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

Changed 6 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

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).

Changed 6 years ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.