Yann4
November 4, 2015, 10:23am
1
Hi,
I am trying to read the manual of this addon (i.spec.sam in grass-addons/grass7/imagery/) from the GUI and it does not show any content.
i.spec.sam
Traceback (most recent call last):
File "/usr/local/grass-7.1.svn/gui/wxpython/gui_core/forms.py", line 2121, in OnPageChange
wx.Yield()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8370, in Yield
return _core_.Yield(*args)
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at ../src/common/evtloopcmn.cpp(110) in Yield(): wxYield called recursively
any help please.
Thank you,
Yann
--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34
neteler
November 4, 2015, 11:04am
2
On Wed, Nov 4, 2015 at 11:23 AM, Yann <ychemin@gmail.com> wrote:
Hi,
I am trying to read the manual of this addon (i.spec.sam in
grass-addons/grass7/imagery/) from the GUI and it does not show any content.
Hi Yann,
the bug is this: the main.c is missing the corresponding part of the
next lines (this is the code of i.spec.unmix):
module = G_define_module();
G_add_keyword(_("imagery"));
G_add_keyword(_("spectral unmixing"));
module->description =
_("Performs Spectral mixture analysis of satellite/aerial images");
I suggest that you sync the parser part to i.spec.umix (different
descriptions of course).
Please also add in main.c after
#include <grass/config.h>
these lines:
#ifndef HAVE_LIBBLAS
#error GRASS is not configured with BLAS
#endif
#ifndef HAVE_LIBLAPACK
#error GRASS is not configured with LAPACK
#endif
Another small issue:
main.c:174:44: warning: '/*' within block comment [-Wcomment]
/*b = v_get(A->m); /* dimension of
vector = matrix size = Ref.nfiles*/
thanks
Markus
Yann4
November 4, 2015, 12:53pm
3
Hi Markus,
Thanks, looking into it now.
Yann
On 04/11/2015 12:04, Markus Neteler wrote:
On Wed, Nov 4, 2015 at 11:23 AM, Yann <ychemin@gmail.com> wrote:
Hi,
I am trying to read the manual of this addon (i.spec.sam in
grass-addons/grass7/imagery/) from the GUI and it does not show any content.
Hi Yann,
the bug is this: the main.c is missing the corresponding part of the
next lines (this is the code of i.spec.unmix):
module = G_define_module();
G_add_keyword(_("imagery"));
G_add_keyword(_("spectral unmixing"));
module->description =
_("Performs Spectral mixture analysis of satellite/aerial images");
I suggest that you sync the parser part to i.spec.umix (different
descriptions of course).
Please also add in main.c after
#include <grass/config.h>
these lines:
#ifndef HAVE_LIBBLAS
#error GRASS is not configured with BLAS
#endif
#ifndef HAVE_LIBLAPACK
#error GRASS is not configured with LAPACK
#endif
Another small issue:
main.c:174:44: warning: '/*' within block comment [-Wcomment]
/*b = v_get(A->m); /* dimension of
vector = matrix size = Ref.nfiles*/
thanks
Markus
--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34