[GRASS-user] v.autokrige.py gives KeyError GRASS_VERBOSE

Hi
I am trying to run v.autokrige.py (38281) on grass6.4.0RC5 (freshly compiled) on SUSE
10.3, x86_64, kernel 2.6.22.5-31. Python is V 2.5.1 and R is V 2.9.2

I get an "unexpected error" with a traceback to:
line 32x, in printMessage\n elif type == \'info\' and grass.gisenv()[\'GRASS_VERBOSE\']

> 0:\n', "KeyError: 'GRASS_VERBOSE'\n"]

I have tried adding GRASS_VERBOSE to my environment as =1 and =0, but the error persists.

Is this a python problem, my environment or an incompatibility with the latest grass
release? Is v.autokrige working with this release or do I have an installation issue please?

Thanks

(apologies if this has been double posted - it seems to have failed on a previous posting)
kingsley

Hi,

2009/9/7 kgb <me@burlinson.id.au>:

I get an "unexpected error" with a traceback to:
line 32x, in printMessage\n elif type == \'info\' and grass.gisenv()[\'GRASS_VERBOSE\']

> 0:\n', "KeyError: 'GRASS_VERBOSE'\n"]

I have tried adding GRASS_VERBOSE to my environment as =1 and =0, but the error persists.

Is this a python problem, my environment or an incompatibility with the latest grass
release? Is v.autokrige working with this release or do I have an installation issue please?

it's a bug in v.autokrige. GRASS_VERBOSE is not GRASS variable but
shell environment variable, so it's bogus to use grass.gisenv() to
retrieve GRASS_VERBOSE.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa