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

#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@kmf output=test002005
iterations=10000 seeds=grass_0.01_eucl_20_10000@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&gt;
GRASS GIS <https://grass.osgeo.org>

#2753: i.segment.hierarchical: ValueError: too many values to unpack
---------------------+--------------------------------------------
  Reporter: kfries | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Addons | Version: svn-trunk
Resolution: | Keywords: i.segment.hierarchical, python
       CPU: x86-64 | Platform: MSWindows 8
---------------------+--------------------------------------------
Changes (by neteler):

* keywords: => i.segment.hierarchical, python
* component: Python => Addons
* milestone: => 7.0.1

Comment:

I wonder if this is related to r66106?

Maybe i.segment.hierarchical is missing an update?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2753#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2753: i.segment.hierarchical: ValueError: too many values to unpack
---------------------+--------------------------------------------
  Reporter: kfries | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-trunk
Resolution: | Keywords: i.segment.hierarchical, python
       CPU: x86-64 | Platform: MSWindows 8
---------------------+--------------------------------------------
Changes (by neteler):

* milestone: 7.0.1 => 7.0.3

Comment:

Can a Windows user please try again the Addon i.segment.hierarchical?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2753#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2753: i.segment.hierarchical: ValueError: too many values to unpack
---------------------+--------------------------------------------
  Reporter: kfries | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.7
Component: Addons | Version: svn-trunk
Resolution: | Keywords: i.segment.hierarchical, python
       CPU: x86-64 | Platform: MSWindows 8
---------------------+--------------------------------------------

Comment (by martinl):

No activity. Feel free to reopen if needed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2753#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>