Opened 15 years ago

Closed 15 years ago

#615 closed defect (fixed)

Error querying vectors in Grass 6.5

Reported by: epatton Owned by: martinl
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: wxgui, query, vector Cc: grass-dev@…
CPU: x86-64 Platform: Linux

Description

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.

Attachments (2)

Grass7_wxGUI_Vector_Query_Error.txt (1.4 KB ) - added by epatton 15 years ago.
Grass 7 wxGUI error report
Grass7_wxGUI_Vector_Query_Error.2.txt (1.4 KB ) - added by epatton 15 years ago.
Grass 7 wxGUI error report

Download all attachments as: .zip

Change History (6)

by epatton, 15 years ago

Grass 7 wxGUI error report

by epatton, 15 years ago

Grass 7 wxGUI error report

comment:1 by epatton, 15 years ago

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

~ Eric.

comment:2 by martinl, 15 years ago

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

make distclean

should solve your problem.

Martin

in reply to:  2 comment:3 by martinl, 15 years ago

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

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

comment:4 by martinl, 15 years ago

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