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

Martin Landa landa.martin at gmail.com
Mon Sep 7 04:21:21 EDT 2009


Hi,

2009/9/7 kgb <me at 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


More information about the grass-user mailing list