[GRASS-dev] G71 errors at startup

Hi,

just updated GRASS 7.1.svn (r64526), (after make clean, make distclean, svn up etc…)
At start up I get the following:

r.area: Unable to fetch interface description for command ‘r.area’.

Details: ERROR: Module built against version $Revision: 59317 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

r.regression.series: Unable to fetch interface description for command ‘r.regression.series’.

Details: ERROR: Module built against version $Revision: 60387 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

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

Details: ERROR: Module built against version $Revision: 59317 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

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

Details: ERROR: Module built against version $Revision: 62060 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

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

Details: ERROR: Module built against version $Revision: 62060 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

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

Details: ERROR: Module built against version $Revision: 62060 $ but trying to use
version $Revision: 63930 $. You need to rebuild GRASS GIS or
untangle multiple installations.

wx.metadata: Unable to fetch interface description for command ‘wx.metadata’.

Details: [Errno 2] No such file or directory

···

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Mon, Feb 9, 2015 at 3:03 PM, Margherita Di Leo <diregola@gmail.com>
wrote:

Hi,

just updated GRASS 7.1.svn (r64526), (after make clean, make distclean,
svn up etc..)
At start up I get the following:

r.area: Unable to fetch interface description for command 'r.area'.

Details: ERROR: Module built against version $Revision: 59317 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

r.regression.series: Unable to fetch interface description for command
'r.regression.series'.

Details: ERROR: Module built against version $Revision: 60387 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

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

Details: ERROR: Module built against version $Revision: 59317 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

r.stream.order: Unable to fetch interface description for command
'r.stream.order'.

Details: ERROR: Module built against version $Revision: 62060 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

r.stream.snap: Unable to fetch interface description for command
'r.stream.snap'.

Details: ERROR: Module built against version $Revision: 62060 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

r.stream.stats: Unable to fetch interface description for command
'r.stream.stats'.

Details: ERROR: Module built against version $Revision: 62060 $ but trying
to use
       version $Revision: 63930 $. You need to rebuild GRASS GIS or
       untangle multiple installations.

wx.metadata: Unable to fetch interface description for command
'wx.metadata'.

Details: [Errno 2] No such file or directory

I removed all the addons and now I don't get the error any longer. But
still don't understand why i got this.

--
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.

Ciao Madi,

On 9 February 2015 at 15:11, Margherita Di Leo <diregola@gmail.com> wrote:

I removed all the addons and now I don't get the error any longer. But still
don't understand why i got this.

http://osgeo-org.1560.x6.nabble.com/check-on-GRASS-revision-number-td5175139.html

--
Best regards,

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

Luca,

···

On Mon, Feb 9, 2015 at 3:21 PM, Luca Delucchi <lucadeluge@gmail.com> wrote:

Ciao Madi,

On 9 February 2015 at 15:11, Margherita Di Leo <diregola@gmail.com> wrote:

I removed all the addons and now I don’t get the error any longer. But still
don’t understand why i got this.

http://osgeo-org.1560.x6.nabble.com/check-on-GRASS-revision-number-td5175139.html

Thank you. However it seems to me that the behavior is different. In the case of Michael, he is launching r.flip and getting the error. This has happened to me in the past with some addons, and i have reinstalled them against current version. However in this case, I’m just launching grass, and getting error without calling any addons.


ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

Hi,

2015-02-09 15:11 GMT+01:00 Margherita Di Leo <diregola@gmail.com>:

I removed all the addons and now I don't get the error any longer. But still
don't understand why i got this.

you need to recompile your addons against your current version of
GRASS. Simply run:

g.extension.all -f

Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa

On 09/02/15 15:49, Martin Landa wrote:

Hi,

2015-02-09 15:11 GMT+01:00 Margherita Di Leo <diregola@gmail.com>:

I removed all the addons and now I don't get the error any longer. But still
don't understand why i got this.

you need to recompile your addons against your current version of
GRASS. Simply run:

g.extension.all -f

It would be great if the user could just be informed about this instead of seeing all these error messages...

I don't really understand: does GUI startup call these addon-modules ? If yes, why ?

Moritz

On Mon, Feb 9, 2015 at 10:04 AM, Moritz Lennert <
mlennert@club.worldonline.be> wrote:

On 09/02/15 15:49, Martin Landa wrote:

Hi,

2015-02-09 15:11 GMT+01:00 Margherita Di Leo <diregola@gmail.com>:

I removed all the addons and now I don't get the error any longer. But
still
don't understand why i got this.

you need to recompile your addons against your current version of
GRASS. Simply run:

g.extension.all -f

It would be great if the user could just be informed about this instead of
seeing all these error messages...

I don't really understand: does GUI startup call these addon-modules ? If
yes, why ?

It works in the way that when loading toolboxes for the Search module tab,

installed addons are called with --interface-description in order to get
the keywords and description to be searchable in the Search module tab. If
the addon is compiled for different version, previously it failed
silently on Linux/Mac. Now you get errors. On Windows however, even the
previous 'silent' solution was not silent, instead you got an ugly error
dialog "python.exe stopped working" which in the newest version of Windows
8 doesn't allow you to see details about which application actually was not
working. For each not working addon you have to click on the dialog so that
the gui can show up.

So, I would suggest to stop loading metadata for addons, at least on
Windows. The addons would be still available in the Search module tree and
would be searchable by the module name (not by keywords or desc). The
change should be easy.

Anna

Moritz

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi,

2015-02-09 16:04 GMT+01:00 Moritz Lennert <mlennert@club.worldonline.be>:

It would be great if the user could just be informed about this instead of
seeing all these error messages...

I have added such message r64532 (it's hot candidate for backport,
noted on [1]). Martin

[1] http://trac.osgeo.org/grass/wiki/Grass7Planning#Tobebackported

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa

Hi,

2015-02-09 16:21 GMT+01:00 Anna Petrášová <kratochanna@gmail.com>:

So, I would suggest to stop loading metadata for addons, at least on
Windows. The addons would be still available in the Search module tree and

+1 for Windows (should be done ASAP). We can work on better solution
later after releasing G700.

Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa

On Mon, Feb 9, 2015 at 11:44 AM, Martin Landa <landa.martin@gmail.com>
wrote:

Hi,

2015-02-09 16:21 GMT+01:00 Anna Petrášová <kratochanna@gmail.com>:

> So, I would suggest to stop loading metadata for addons, at least on
> Windows. The addons would be still available in the Search module tree
and

+1 for Windows (should be done ASAP). We can work on better solution
later after releasing G700.

done in r64533, will backport after testing

Anna

Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa