[GRASS-dev] [GRASS GIS] #1683: error message v.db.addcol
GRASS GIS
trac at osgeo.org
Wed Nov 7 04:57:59 PST 2012
#1683: error message v.db.addcol
---------------------------+------------------------------------------------
Reporter: jradinger | Owner: hamish
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.3
Component: Shell Scripts | Version: svn-develbranch6
Keywords: v.db.addcol | Platform: All
Cpu: Unspecified |
---------------------------+------------------------------------------------
Comment(by jradinger):
sorry for responding so late.
today I tried example again and found out that the error messages are
related
a messy gisenv. Here first the errors from v.db.addcol
{{{
v.db.addcol map="test at FIDIMO_Cele" columns="testcol DOUBLE"
/usr/local/grass-6.5.svn/scripts/v.db.addcol: 1: eval:
adinger/U_Radinger/05_GRASS/GR=/home/radinger/U_Radinger/05_GRASS/GRASS_Scripts:
not found
/usr/local/grass-6.5.svn/scripts/v.db.addcol: 1: eval:
adinger/05_GRASS/GRASS_Scripts=/home/radinger/U_Radinger/05_GRASS/FIDIMO/FIDIMO_Script/fidimo
for grass 6.x/r.fidimo: not found
/usr/local/grass-6.5.svn/scripts/v.db.addcol: 1: eval:
/r.rdfilter=/home/radinger/U_Radinger/05_GRASS/FIDIMO/FIDIMO_Script/fidimo
for grass 6.x/r.fidimo: not found
GRASS 6.5.svn (Cele_location):~ >
}}}
So I also checked the output of g.gisenv from the command line which seems
somehow
wrong. I looks like the output for GRASS_SCRIPTS is "chopped up" and
messy, and I don't know how this could happen.
{{{
GRASS 6.5.svn (Cele_location):~ > g.gisenv
GISDBASE=/home/radinger/Documents/GRASS_locations
LOCATION_NAME=Cele_location
MAPSET=FIDIMO_Cele
ADDON_PATH=/home/radinger/.grass6/addons:/home/radinger/.grass6/addons:/home/radinger/.grass6/addons:/home/radinger/.grass6/addons:/home/radinger/.grass6/addons:/home/radinger/.grass6/addons:/home/r
adinger/U_Radinger/05_GRASS/GR=/home/radinger/U_Radinger/05_GRASS/GRASS_Scripts
ASS_Scripts=/home/radinger/U_R:/home/radinger/U_Radinger/05_GRASS/GRASS_Scripts/FIDIMO_testbed
adinger/05_GRASS/GRASS_Scripts=/home/radinger/U_Radinger/05_GRASS/FIDIMO/FIDIMO_Script/fidimo
for grass 6.x/r.fidimo
/r.rdfilter=/home/radinger/U_Radinger/05_GRASS/FIDIMO/FIDIMO_Script/fidimo
for grass 6.x/r.fidimo
GRASS_GUI=wxpython
GRASS 6.5.svn (Cele_location):~ >
}}}
How can I clean up my gisenv as I think that might solve the problem?
Whats the best way? My ADDON_PATH is extremely long and repeatedly the
same. Furthermore it seems there is a line break in gisenv dividing "r"
and "adinger...", which is causing the problem above.
I still don't know how this could happen as I never touched the
gisenv deliberately.
/j
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1683#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list