[GRASS-dev] [GRASS GIS] #615: Error querying vectors in Grass 6.5

#615: Error querying vectors in Grass 6.5
----------------------------------+-----------------------------------------
Reporter: epatton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: wxgui, query, vector | Platform: Linux
      Cpu: x86-64 |
----------------------------------+-----------------------------------------
In Grass 6.5, querying a polygon vector map with the wxgui results in the
following error:

{{{
self.OnLeftUp(event)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
pdisp_window.py", line 1713, in OnLeftUp

self.parent.QueryVector(self.mouse['begin'][0],
self.mouse['begin'][1])
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1222, in QueryVector

action="update")
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/db
m_dialogs.py", line 65, in __init__

self.mapDBInfo = dbm.VectorDBInfo(self.map)
   File
"/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/dbm.py",
line 2876, in __init__

gselect.VectorDBInfo.__init__(self, map)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/gs
elect.py", line 345, in __init__

self.__DescribeTables() # -> self.tables
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/gs
elect.py", line 365, in __DescribeTables

for item in grass.db_describe(table =
self.layers[layer]["table"],
AttributeError
:
'module' object has no attribute 'db_describe'

}}}

Using today's svn, revision 37520.

~ Eric.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/615&gt;
GRASS GIS <http://grass.osgeo.org>

#615: Error querying vectors in Grass 6.5
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgui, query, vector
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by epatton):

This error also occurs in Grass 7, as of revision 37520; I've attached the
exact error report.

~ Eric.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/615#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#615: Error querying vectors in Grass 6.5
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgui, query, vector
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by martinl):

It's related to the recent changes in Python scripting library.

{{{
make distclean
}}}

should solve your problem.

Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/615#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#615: Error querying vectors in Grass 6.5
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgui, query, vector
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

Replying to [comment:2 martinl]:
> It's related to the recent changes in Python scripting library.
>
{{{
> make distclean
}}}
>
> should solve your problem.

not really... Bug hopefully fixed in r37551 (trunk) and r37550 (devbr6).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/615#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#615: Error querying vectors in Grass 6.5
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: wxgui, query, vector
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/615#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>