[GRASS-user] Error with r.stream.basins in GRASS7

Hi,

I just tried to launch the r.stream.basins add-on in G7,

however instead of seeing the GUI for the add-on I run into following error:

Unable to fetch interface description for command ‘r.stream.basins’.

Details:
GRASS_INFO_ERROR(31075,1): Incompatible library version for module. You need to rebuild GRASS or untangle multiple installations.
GRASS_INFO_END(31075,1)

I run a freshly compilied G7 () on Ubuntu 12.04:

GRASS version: 7.0.svn
GRASS SVN Revision: 58317M
Build Date: 2013-11-27
GIS Library Revision: 58048 (2013-10-18)

The add-on has also been recompiled and uninstalled and freshly installed, but the error is still
persistent. I don’t receive such errors with other r.stream.* modules such as r.stream.extract.

So I guess this might be related to the module itself. What does the error actually mean?

/Johannes

On Wed, Jan 8, 2014 at 5:39 PM, Johannes Radinger
<johannesradinger@gmail.com> wrote:

Hi,

I just tried to launch the r.stream.basins add-on in G7,
however instead of seeing the GUI for the add-on I run into following error:

Unable to fetch interface description for command 'r.stream.basins'.

Details:
GRASS_INFO_ERROR(31075,1): Incompatible library version for module. You need
to rebuild GRASS or untangle multiple installations.
GRASS_INFO_END(31075,1)

I run a freshly compilied G7 () on Ubuntu 12.04:

In case of "... rebuild GRASS or untangle multiple installations." you
need to cleanup your local source code with

make distclean

prior for configuration and compilation. Be also sure to not have
multiple binaries of the addon around.
Perhaps one file is in the standard GRASS binary directory while the
other is in $HOME/.grass7/addons/

The command
which r.stream.basins

also helps to find it.

Hope this helps,
Markus

I’ve seen this also. What I do is change the $PATH environment variable to first point to my addons directory, before the system directory as follows: # THe original PATH variable GRASS 7.0.svn (WGS84):~ > echo $PATH /usr/local/grass-7.0.svn/bin:/usr/local/grass-7.0.svn/scripts:/home/micha/.grass7/addons/bin:/home/micha/.grass7/addons/scripts:/usr/lib64/qt4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/micha/bin # Changed to: GRASS 7.0.svn (WGS84):~ > export PATH=/home/micha/.grass7/addons/bin:/home/micha/.grass7/addons/scripts:/usr/lib64/qt4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/micha/bin:/usr/local/grass-7.0.svn/bin:/usr/local/grass-7.0.svn/scripts GRASS 7.0.svn (WGS84):~ > It’s a weird workaround, but works…

···

On 01/08/2014 06:39 PM, Johannes Radinger wrote:

Hi,

I just tried to launch the r.stream.basins add-on in G7,

however instead of seeing the GUI for the add-on I run into following error:

Unable to fetch interface description for command ‘r.stream.basins’.

Details:
GRASS_INFO_ERROR(31075,1): Incompatible library version for module. You need to rebuild GRASS or untangle multiple installations.
GRASS_INFO_END(31075,1)

I run a freshly compilied G7 () on Ubuntu 12.04:

GRASS version: 7.0.svn
GRASS SVN Revision: 58317M
Build Date: 2013-11-27
GIS Library Revision: 58048 (2013-10-18)

The add-on has also been recompiled and uninstalled and freshly installed, but the error is still
persistent. I don’t receive such errors with other r.stream.* modules such as r.stream.extract.

So I guess this might be related to the module itself. What does the error actually mean?

/Johannes

This mail was received via Mail-SeCure System.

_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
This mail was received via Mail-SeCure System.

-- 
Micha Silver
GIS Consultant, Arava Development Co.
[http://www.surfaces.co.il](http://www.surfaces.co.il)   052-3665918

On Sat, Feb 1, 2014 at 9:24 AM, Micha Silver <micha@arava.co.il> wrote:

On 01/08/2014 06:39 PM, Johannes Radinger wrote:

Hi,

I just tried to launch the r.stream.basins add-on in G7,
however instead of seeing the GUI for the add-on I run into following error:

Unable to fetch interface description for command 'r.stream.basins'.

Details:
GRASS_INFO_ERROR(31075,1): Incompatible library version for module. You need
to rebuild GRASS or untangle multiple installations.
GRASS_INFO_END(31075,1)

I've seen this also.

You'll have to find the outdated addon binary...
AFAIK this happens when a libgis change was done.

Markus