[GRASS-dev] [GRASS GIS] #734: wxGui sqlbuilder: a few bugs
GRASS GIS
trac at osgeo.org
Tue Aug 25 04:33:38 EDT 2009
#734: wxGui sqlbuilder: a few bugs
------------------------+---------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: sqlbuilder | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Hi, a remaining few bugs moved here from #723 re. the wx SQLbuilder GUI.
It's getting close to being functional. (!)
* clicking on Column, Operator, Value (get values first) doesn't add the
new text at the end of the statement or at the cursor position. It just
always inserts to the fifth char position?? You can fix it manually.
* Clicking [Apply] doesn't send the string back to the Attribute Table
Manager GUI.
* How to add support for multi-layer tables? (see layer from L584 in
dbm.py ?)
* in 6.4svn you get an error when you click on [Verify]:
{{{
Testing [SELECT * FROM fields WHERE label = '"NO DATA"'] ...
Traceback (most recent call last):
File
"/.../etc/wxpython/gui_modules/sqlbuilder.py",
line 363, in OnVerify
sql = querystring)
TypeError
:
'int' object is not iterable
}}}
* in all versions you get an error on [Close]:
{{{
Traceback (most recent call last):
File
"/.../etc/wxpython/gui_modules/sqlbuilder.py",
line 284, in AddColumnName
idx = self.list_columns.GetSelections()[0]
IndexError
:
tuple index out of range
Traceback (most recent call last):
File
"/.../etc/wxpython/gui_modules/sqlbuilder.py",
line 289, in AddValue
idx = self.list_values.GetSelections()[0]
IndexError
:
tuple index out of range
}}}
?,
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/734>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list