[GRASS-dev] [GRASS GIS] #4022: impossible to remove vect and delete attribute from gui
GRASS GIS
trac at osgeo.org
Tue Jan 21 02:54:02 PST 2020
#4022: impossible to remove vect and delete attribute from gui
---------------------+-------------------------
Reporter: 1266 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Linux |
---------------------+-------------------------
I cannot remove vector object and/or attribute data from the right-clic
menu on attribute box in the gui (delete selected records/features) with
grass 7.8 or 7.9 (on debian buster with 'fr' or 'en' locale)
But "v.edit tool=delete map=mymap where="mycolum=myvalue" and db.execute
"sql=DELETE FROM mymap WHERE mycolomn = myvalue" work fine.
console return :
Traceback (most recent call last):
File "/usr/local/grass78/gui/wxpython/dbmgr/base.py", line
1997, in OnDeleteSelected
if self.OnDataItemDelete(None) and self.mapdisplay:
File "/usr/local/grass78/gui/wxpython/dbmgr/base.py", line
1748, in OnDataItemDelete
self.ApplyCommands(self.listOfCommands,
self.listOfSQLStatements)
File "/usr/local/grass78/gui/wxpython/dbmgr/base.py", line
982, in ApplyCommands
sqlFile.write(sql.encode('utf-8') + ';')
TypeError
:
can't concat str to bytes
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4022>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list