[GRASS-dev] check on GRASS revision number

Markus Neteler neteler at osgeo.org
Tue Dec 2 12:37:40 PST 2014


Hi,

just for the record, by chance it happened to me today and how I
solved it easily:

GRASS 7.0.0svn (nc_spm_08_grass7):~ > r.stream.order
stream_rast=streams at user1 direction=direction at user1
elevation=elevation at PERMANENT accumulation=accum at user1
stream_vect=streams horton=horton
ERROR: Module built against version $Revision: 62395 $ but trying to use
       version $Revision: 63222 $. You need to rebuild GRASS GIS or
       untangle multiple installations.


# Now simply re-run g.extension:
GRASS 7.0.0svn (nc_spm_08_grass7):~ > g.extension r.stream.order
WARNING: Extension <r.stream.order> already installed. Re-installing...
Fetching <r.stream.order> from GRASS-Addons SVN repository (be patient)...
Compiling...
Installing...
Updating metadata file...
Installation of <r.stream.order> successfully finished

# enjoy:
GRASS 7.0.0svn (nc_spm_08_grass7):~ > r.stream.order
stream_rast=streams at user1 direction=direction at user1
elevation=elevation at PERMANENT accumulation=accum at user1
stream_vect=streams horton=horton
All in RAM calculation...
Reading raster map <streams at user1>...
 100%
Reading raster map <direction at user1>...
 100%
Finding nodes...
Finding longest streams...
Calculating Strahler's stream order...
Calculating Hortons's stream order...
Calculating Shreve's stream magnitude, Scheidegger's consistent integer and
Drwal's streams hierarchy (old style)...
Calculating Hack's main streams and topological dimension...
Building topology for vector map <streams at user1>...
...
Writing outpout raster maps...

Hope this helps,
Markus


More information about the grass-dev mailing list