[GRASS-dev] i.spectral error in trunk

Hi,

got this error message when running i.spectral.

btw, is there a plan to have i.spectral running in the GUI with the other tools?

···

Following the error, launched manually d.mon wx0

ISIS-GRASS 7.1.svn (M3):~/M3 > d.mon wx0
ISIS-GRASS 7.1.svn (M3):~/M3 > i.spectral group=m3@yann coordinates=-23.4344978039,-3.00860909257
ISIS-GRASS 7.1.svn (M3):~/M3 >
GRASS_INFO_WARNING(15380,1): Unsupported command d.linegraph.

···

On 23 January 2015 at 23:46, Yann Chemin <ychemin@gmail.com> wrote:

Hi,

got this error message when running i.spectral.

btw, is there a plan to have i.spectral running in the GUI with the other tools?


i.spectral group=m3@yann coordinates=-23.4344978039,-3.00860909257
ERROR: Neither MONITOR (managed by d.mon command) nor GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
Traceback (most recent call last):
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
241, in
main()
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
236, in main
draw_linegraph(what)
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
179, in draw_linegraph
x_title=‘Bands’, y_title=‘DN Value’)
File
“/usr/local/grass-7.1.svn/etc/python/grass/script/core.py”,
line 375, in run_command
return handle_errors(returncode, returncode, args,
kwargs)
File
“/usr/local/grass-7.1.svn/etc/python/grass/script/core.py”,
line 310, in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
[‘d.linegraph’, ‘x_title=Bands’,
‘x_file=/home/yann/GRASSDATA/M3/yann/.tmp/Yann-
OK/15217.0/data_x’,
‘y_file=/home/yann/GRASSDATA/M3/yann/.tmp/Yann-
OK/15217.0/data_y_0’, ‘y_title=DN Value’, ‘title=Spectral
signatures’, ‘y_color=red’] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.



it does display something with -g flag

···

On 23 January 2015 at 23:49, Yann Chemin <ychemin@gmail.com> wrote:

Following the error, launched manually d.mon wx0

ISIS-GRASS 7.1.svn (M3):~/M3 > d.mon wx0
ISIS-GRASS 7.1.svn (M3):~/M3 > i.spectral group=m3@yann coordinates=-23.4344978039,-3.00860909257
ISIS-GRASS 7.1.svn (M3):~/M3 >
GRASS_INFO_WARNING(15380,1): Unsupported command d.linegraph.

On 23 January 2015 at 23:46, Yann Chemin <ychemin@gmail.com> wrote:

Hi,

got this error message when running i.spectral.

btw, is there a plan to have i.spectral running in the GUI with the other tools?


i.spectral group=m3@yann coordinates=-23.4344978039,-3.00860909257
ERROR: Neither MONITOR (managed by d.mon command) nor GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
Traceback (most recent call last):
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
241, in
main()
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
236, in main
draw_linegraph(what)
File “/usr/local/grass-7.1.svn/scripts/i.spectral”, line
179, in draw_linegraph
x_title=‘Bands’, y_title=‘DN Value’)
File
“/usr/local/grass-7.1.svn/etc/python/grass/script/core.py”,
line 375, in run_command
return handle_errors(returncode, returncode, args,
kwargs)
File
“/usr/local/grass-7.1.svn/etc/python/grass/script/core.py”,
line 310, in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
[‘d.linegraph’, ‘x_title=Bands’,
‘x_file=/home/yann/GRASSDATA/M3/yann/.tmp/Yann-
OK/15217.0/data_x’,
‘y_file=/home/yann/GRASSDATA/M3/yann/.tmp/Yann-
OK/15217.0/data_y_0’, ‘y_title=DN Value’, ‘title=Spectral
signatures’, ‘y_color=red’] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.