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


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/", line 2745, in _onClick
AttributeError: 'SqlWhereSelect' object has no attribute 'vector_map'

Change History (9)

comment:1 by martinl, 6 years ago

Component: DefaultwxGUI
Milestone: 7.4.2

comment:2 by martinl, 6 years ago

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

comment:3 by martinl, 6 years ago

In 73114:

G_OPT_DB_WHERE - non-functional 'table' icon in gui, see #3619

comment:4 by martinl, 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):

  1. click on 'table' button (where option) -> reported traceback
    • fixed in r73114, error message "No vector map selected" appears
  2. select input map (with no attributes attached)
    • error message "No table linked to layer <1>"
  3. 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:5 by martinl, 6 years ago

In 73118:

v.vect.stats: define gui dependencies, see #3619

comment:6 by martinl, 6 years ago

In 73119:

wxGUI forms: improve gui dependencies logic, see #3619

comment:7 by martinl, 6 years ago

Also G74:v.vect.stats related issue should be fixed in trunk (r73118, r73119). Testing welcome.

comment:8 by pvanbosgeo, 6 years ago

Problem fixed for me, thanks

comment:9 by martinl, 6 years ago

Resolution: fixed
Status: assignedclosed

In 73133:

G_OPT_DB_WHERE - non-functional 'table' icon in gui, closes #3619

(merge r73114, r73118-73119 from trunk)

Note: See TracTickets for help on using tickets.