Opened 6 years ago
Closed 6 years ago
#3619 closed defect (fixed)
G_OPT_DB_WHERE - non-functional 'table' icon in gui
Reported by: | pvanbosgeo | Owned by: | martinl |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.2 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | Cc: | grass-dev@… | |
CPU: | Unspecified | Platform: | Linux |
Description
When a function has an G_OPT_DB_WHERE input parameter, and you open the function's window, you'll have a text box with to the right an 'table' icon (see e.g., points_where parameter in v.vect.stats). It seems to be non-functional though. When I click it, I only get:
File "/usr/local/grass7/grass-7.5.svn/gui/wxpython/gui_core/gselect.py", line 2745, in _onClick vectmap=self.vector_map, AttributeError: 'SqlWhereSelect' object has no attribute 'vector_map'
Change History (9)
comment:1 by , 6 years ago
Component: | Default → wxGUI |
---|---|
Milestone: | → 7.4.2 |
comment:2 by , 6 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 6 years ago
comment:4 by , 6 years ago
This bug appears when you click on 'table' button before input vector map is selected. Steps to reproduce (in this case show on G74:v.extract):
- click on 'table' button (
where
option) -> reported traceback- fixed in r73114, error message "No vector map selected" appears
- select input map (with no attributes attached)
- error message "No table linked to layer <1>"
- select input map with attributes attached
- SQL Builder opens
Anyway G74:v.vect.stats has another problem with GUI dependencies which needs to be fixed.
comment:7 by , 6 years ago
Also G74:v.vect.stats related issue should be fixed in trunk (r73118, r73119). Testing welcome.
In 73114: