[GRASS-dev] Re: [GRASS GIS] #571: v.db.addcol: fails if path
contains spaces
GRASS GIS
trac at osgeo.org
Tue May 5 03:57:31 EDT 2009
#571: v.db.addcol: fails if path contains spaces
--------------------------+-------------------------------------------------
Reporter: pcav | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):
I can not reproduce this using Colin's latest standalone WinGRASS
6.4.0rc4+ installer (r36903), or on linux.
GISDBASE is in "Documents and Settings" so lots of spaces there.
Only problem I saw using the same commands as Markus (but from the wxGui)
was that v.db.addcol exited with a helpful error message complaining that
the table didn't exist and you should use v.db.addtable first, which I
then did & reran v.db.addcol successfully.
I guess that Markus is using the NC dataset and I'm using spearfish,
which will explain why his already has a table and mine doesn't.
to repeat Markus's question: what OS? ms-windows?
you are trying to run this using the qgis-1.0 grass plugin, yes?
Trying the latest OSGeo4W version 1.0.1:
- open toolbox to spearfish/user1 mapset
- copy over railroads to myrailroads
- v.db.addcol: complains there is no table, ok.
- v.db.addtable: [Run] "Warning: Name of new attribute table (defaut: ve
... : missing value"
even though in the script it says "#% required : no" for that option.
(expands to "default: vector map name")
I seem to recall that the qgis-grass plugin has problems with empty
options some time. e.g. problem 2b here:
http://trac.osgeo.org/qgis/ticket/1133
and if you try nviz there is no way to select <none> from the list of maps
for optional parameters (e.g. 'color map' should default to none)
anyway, if I type in 'myrailroads' for the table name manually
and hit Run v.db.addtable works ok, even line wrapping on on of the the
Documents and Settings space in the output message. And if I then run
v.db.addcol it also Successfully finishes.
So can't reproduce it there either.
what's you exact error message, version, etc?
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/571#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list