Opened 7 years ago

Last modified 2 years ago

#2753 new defect

i.segment.hierarchical: ValueError: too many values to unpack

Reported by: kfries Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: Addons Version: svn-trunk
Keywords: i.segment.hierarchical, python Cc:
CPU: x86-64 Platform: MSWindows 8

Description

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.

Change History (10)

comment:1 by neteler, 7 years ago

Component: PythonAddons
Keywords: i.segment.hierarchical python added
Milestone: 7.0.1

I wonder if this is related to r66106?

Maybe i.segment.hierarchical is missing an update?

comment:2 by neteler, 6 years ago

Milestone: 7.0.17.0.3

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

comment:3 by neteler, 6 years ago

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:4 by neteler, 6 years ago

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:5 by martinl, 6 years ago

Milestone: 7.0.47.0.5

comment:6 by neteler, 6 years ago

Milestone: 7.0.57.0.6

comment:7 by neteler, 4 years ago

Milestone: 7.0.67.0.7

comment:8 by martinl, 3 years ago

No activity. Feel free to reopen if needed.

comment:9 by martinl, 3 years ago

Milestone: 7.0.7

Remove Milestone from Addons bugreports.

comment:10 by neteler, 2 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.