[GRASS-dev] [GRASS GIS] #2753: i.segment.hierarchical: ValueError: too many values to unpack

GRASS GIS trac at osgeo.org
Tue Sep 29 06:20:41 PDT 2015


#2753: i.segment.hierarchical: ValueError: too many values to unpack
-------------------------+-------------------------
 Reporter:  kfries       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  Python       |    Version:  svn-trunk
 Keywords:               |        CPU:  x86-64
 Platform:  MSWindows 8  |
-------------------------+-------------------------
 The current i.segment.hierarchical fails on Windows:

 {{{
 i.segment.hierarchical --overwrite
 group=x654223_2014_10_03_Subset_Tiff at kmf output=test002005
 iterations=10000 seeds=grass_0.01_eucl_20_10000 at kmf
 Traceback (most recent call last):
   File "C:\Users\km_fr_000\AppData\Roaming\GRASS7\addons/scr
 ipts/i.segment.hierarchical.py", line 260, in <module>
     output=OPTS.pop('outputs_prefix'), **OPTS)
   File "C:\Users\km_fr_000\AppData\Roaming\GRASS7\addons/scr
 ipts/i.segment.hierarchical.py", line 222, in segment
     iseg(**opts)
   File "C:\Program Files (x86)\GRASS GIS
 7.0.1\etc\python\grass\pygrass\modules\interface\module.py",
 line 582, in __call__
     return self.run()
   File "C:\Program Files (x86)\GRASS GIS
 7.0.1\etc\python\grass\pygrass\modules\interface\module.py",
 line 692, in run
     G_debug(1, self.get_bash())
   File "C:\Program Files (x86)\GRASS GIS
 7.0.1\etc\python\grass\pygrass\modules\interface\env.py",
 line 32, in G_debug
     debug_level = get_debug_level()
   File "C:\Program Files (x86)\GRASS GIS
 7.0.1\etc\python\grass\pygrass\modules\interface\env.py",
 line 25, in get_debug_level
     debug = get_env().get('DEBUG')
   File "C:\Program Files (x86)\GRASS GIS
 7.0.1\etc\python\grass\pygrass\modules\interface\env.py",
 line 19, in get_env
     for k, v in [row.split(':') for row in grc if row]])
 ValueError: too many values to unpack
 }}}

 I tried it with different images without success.

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



More information about the grass-dev mailing list