[GRASS-user] Running Python Script in GRASS6.4 in Linux

Martin Landa landa.martin at gmail.com
Sat Oct 22 16:14:29 EDT 2011


2011/10/21 António Rocha <antonio.rocha at deimos.com.pt>:
> I have been able to run a GRASS Python script in 6.4. version in Windows by
> creating a .bat file in bin and adding this at the top:
> #!/usr/bin/env python
[...]
> raise gcmd.GException, _("Unable to fetch interface
> description for command '%s'. "
> AttributeError
> :
> OSError instance has no attribute 'value'

the script need be in the PATH or GRASS_ADDON_PATH.

Martin

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


More information about the grass-user mailing list