[GRASS-dev] rasteraccess.py Python error

Markus Neteler neteler at osgeo.org
Sun Oct 11 05:13:28 EDT 2009


Hi,

I have made some necessary updates in
grass70/swig/python/examples/rasteraccess.py
but seem to have missed one:

GRASS 7.0.svn (spearfish60):~ > python
grass70/swig/python/examples/rasteraccess.py
Raster Map Name? elevation.10m
0
Traceback (most recent call last):
  File "grass70/swig/python/examples/rasteraccess.py", line 47, in <module>
    print rown, myrow[0:10]
TypeError: 'int' object is unsubscriptable

?
Markus


More information about the grass-dev mailing list