[GRASS-dev] [GRASS GIS] #2699: g.gui.iclass doesn't run after selecting training areas

GRASS GIS trac at osgeo.org
Sun Nov 20 10:06:08 PST 2016


#2699: g.gui.iclass doesn't run after selecting training areas
-------------------------+-------------------------------------
  Reporter:  ThayseNery  |      Owner:  grass-dev@…
      Type:  defect      |     Status:  new
  Priority:  major       |  Milestone:  7.2.0
 Component:  wxGUI       |    Version:  7.0.0
Resolution:              |   Keywords:  g.gui.iclass, digitizer
       CPU:  x86-64      |   Platform:  MSWindows 7
-------------------------+-------------------------------------

Comment (by hellik):

 Replying to [comment:13 hellik]:
 > Replying to [comment:12 hellik]:
 > >
 > > most works ok, beside import of vector training areas fails with (as
 reported above):
 >
 > also there are no scatterplots displayed.

 some further error messages:

 {{{
 Command 'd.rast --quiet map=mycomp at testiclass' failed
 Details: Neither MONITOR (managed by d.mon command) nor
 GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
 Exception in thread Thread-25:
 Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
 7.0.5\Python27\lib\threading.py", line 808, in
 __bootstrap_inner
     self.run()
   File "C:\Program Files\GRASS GIS
 7.0.5\gui\wxpython\core\gthread.py", line 94, in run
     ret = vars()['callable'](*args, **kwds)
   File "C:\Program Files\GRASS GIS
 7.0.5\gui\wxpython\iscatt\iscatt_core.py", line 256, in
 EditedFeature
     self._updateCatRast(bboxs[i], areas_cats[i],
 updated_cats)
   File "C:\Program Files\GRASS GIS
 7.0.5\gui\wxpython\iscatt\iscatt_core.py", line 281, in
 _updateCatRast
     self._rasterize(grass_region, layer, cat, patch_rast)
   File "C:\Program Files\GRASS GIS
 7.0.5\gui\wxpython\iscatt\iscatt_core.py", line 324, in
 _rasterize
     env = environs)
   File "C:\Program Files\GRASS GIS
 7.0.5\gui\wxpython\core\gcmd.py", line 675, in RunCommand
     ps = grass.start_command(prog, flags, overwrite, quiet,
 verbose, **kwargs)
   File "C:\Program Files\GRASS GIS
 7.0.5\etc\python\grass\script\core.py", line 362, in
 start_command
     return Popen(args, **popts)
   File "C:\Program Files\GRASS GIS
 7.0.5\etc\python\grass\script\core.py", line 65, in __init__
     subprocess.Popen.__init__(self, args, **kwargs)
   File "C:\Program Files\GRASS GIS
 7.0.5\Python27\lib\subprocess.py", line 711, in __init__
     errread, errwrite)
   File "C:\Program Files\GRASS GIS
 7.0.5\Python27\lib\subprocess.py", line 948, in
 _execute_child
     startupinfo)
 TypeError: environment can only contain strings
 Command 'd.rast --quiet map=class_1_1188.0' failed
 Details: Neither MONITOR (managed by d.mon command) nor
 GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
 Command 'd.rast --quiet map=class_2_1188.1' failed
 Details: Neither MONITOR (managed by d.mon command) nor
 GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
 C:\Program Files\GRASS GIS 7.0.5\Python27\lib\site-
 packages\wx-2.8-msw-unicode\wx\lib\plot.py:1164:
 FutureWarning: comparison to `None` will result in an
 elementwise object comparison in the future.
   if xAxis == None or yAxis == None:
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2699#comment:14>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list