[GRASS-dev] [GRASS GIS] #2481: g.gui.iclass: cannot display analysis results because of "No graphics device selected"

GRASS GIS trac at osgeo.org
Fri Nov 7 06:04:40 PST 2014


#2481: g.gui.iclass: cannot display analysis results because of "No graphics
device selected"
--------------------------------+-------------------------------------------
 Reporter:  mlennert            |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  normal              |   Milestone:  7.0.0                    
Component:  wxGUI               |     Version:  svn-trunk                
 Keywords:  g.gui.iclass d.mon  |    Platform:  Unspecified              
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------
 Using g.gui.iclass in both trunk and 70release, I do the following:

  * load group and subgroup
  * load vector training areas
  * "Run analysis"

 I don't see any of the analysis maps (one per class) in the lower window,
 and I get the following error messages:


 {{{
 Data error preparing signatures: value (388) > num of cats
 (256)
 La commande 'd.rast map=eau_15961.0' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 Data error preparing signatures: value (602) > num of cats
 (256)
 La commande 'd.rast map=veg_haute_15961.0' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 Data error preparing signatures: value (394) > num of cats
 (256)
 La commande 'd.rast map=sol_nu_15961.0' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 Data error preparing signatures: value (1173) > num of cats
 (256)
 La commande 'd.rast map=veg_basse_15961.1' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 Data error preparing signatures: value (853) > num of cats
 (256)
 La commande 'd.rast map=bati_15961.1' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 La commande 'd.rast map=pleiades_pan at PERMANENT' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 }}}

 What is really strange is that when I don't load the group and training
 areas, but only display an image in the upper or lower display window, I
 also get:

 {{{
 La commande 'd.rast map=pleiades_pan at PERMANENT' a échoué
 Détails :  No graphics device selected. Use d.mon to select
 graphics device.
 }}}

 but the image is displayed.

 Using i.gensig and i.maxlik I can create valid signatures and a
 classification.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2481>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list