Hamish wrote:
> > >> It's complaining that the map you are using isn't in the current
> > >> mapset when it actually is in the mapset.
> ...
> > >> ERROR: [EMAIL PROTECTED] is not in the current mapset
> > >> (spatialtech2008)
>
>
> It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just 'map'.
>
>
> Try this:
> http://trac.osgeo.org/grass/changeset/30118
> (really please try that, I haven't tested it)
>
>
> +++ /grass/trunk/scripts/v.db.addtable/v.db.addtable (revision 30118)
> @@ -88,18 +88,20 @@
> g.message -e "Vector map '$GIS_OPT_MAP' not found in current
> mapset"
> exit 1
> +else
> + MAP_NAME=`echo "$GIS_OPT_MAP" | cut -f1 -d'@'`
> fi
Completely bogus. Reverted.
This just papers over the symptoms without fixing anything.
If the name includes a mapset which isn't the current one, that's an
error. You don't just discard the mapset.
If you don't have a clue what's going on, don't just commit random
changes which make the problem appear to go away on your system.
--
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev