Johannes Radinger wrote:
> I tried to figure out the problem with william kyngesburye.
> the script is also working on his mac. I saved the script in the bin
> folder and ran in the GRASS terminal:
> AttributeError: 'module' object has no attribute 'mapcalc'
>
>
> What causes this AttributeError?
The grass.script module is either broken or very old (the mapcalc()
function was added in December 2008).
>From within GRASS, try the following:
$ python
> import grass.script as grass
> print grass.__file__
> print grass.__path__
--
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user