Opened 13 years ago
Last modified 13 years ago
#3646 new bug
GRASS toolbox: error removing vectors from a mapset under Windows
Reported by: | lutra | Owned by: | rblazek |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | GRASS | Version: | 1.6.0 |
Keywords: | Cc: | pcav, jef, neteler | |
Must Fix for Release: | Yes | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
Description
Since 1.6 (so it works fine under 1.5) every time a user tries to remove a vector map in GRASS toolbox browser using the proper toolbar button results in the following error message
Cannot delete map XXX command: regio g.remove.exe vect=XXX
the vector is then not completely removed from the mapset.
Change History (8)
follow-up: 5 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Cc: | added |
---|
it fails also under qgis 1.5, in fact it depends if the GRASS vector is being displayed in the QGIS TOC. If it is in the TOC then the error message is returned with its consequences, if the vector is not added in the QGIS project then is removed correctly from the mapset.
comment:3 by , 13 years ago
in qgis 1.6/trunk it fails regardless if the vector was added to the qgis project or not
comment:4 by , 13 years ago
Cc: | added |
---|
comment:5 by , 13 years ago
Replying to lutra:
it fails also from the GRASS command line
C:\>g.remove vect=regio GRASS_INFO_MESSAGE(3228,1): Removing vector <regio> GRASS_INFO_END(3228,1) GRASS_INFO_WARNING(3228,2): Unable to delete file 'C:/Users/gio/GRASS/teste1/teste1/vector/regio/hist' GRASS_INFO_END(3228,2) GRASS_INFO_WARNING(3228,3): couldn't be removed GRASS_INFO_END(3228,3) GRASS_INFO_WARNING(3228,4): <regio> nothing removed GRASS_INFO_END(3228,4)
it's maybe a problem in wingrass itself and not in the grass-plugin.
see http://trac.osgeo.org/grass/ticket/1158
in an actual nightly wingrass65-build I have to delete the same vector twice
g.remove vect=mygeol@g65 Removing vector <mygeol@g65> Kann Datei 'C:\gisdata\grassdata/nc_spm_08/g65/vector/mygeol/hist' nicht löschen. couldn't be removed <mygeol> nothing removed (Sun Mar 27 16:58:58 2011) Command finished (0 sec) (Sun Mar 27 16:59:03 2011) g.remove vect=mygeol@g65 Removing vector <mygeol@g65> (Sun Mar 27 16:59:03 2011) Command finished (0 sec)
comment:6 by , 13 years ago
so it seems we are stuck here
http://trac.osgeo.org/grass/ticket/1158#comment:15
can someone do what glynn asks, so the bug can be fixed?
comment:7 by , 13 years ago
We need debugging under Windows, see http://trac.osgeo.org/grass/ticket/1158#comment:36 for what needs to be traced.
comment:8 by , 13 years ago
I have no idea on how to do what is asked under Windows. I hope that someone will step in because this bug hurts a lot the user experience.
it fails also from the GRASS command line