Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#2731 closed defect (fixed)

t.rast.aggregate: ValueError: too many values to unpack

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.2.0
Component: Temporal Version: svn-trunk
Keywords: t.rast.aggregate Cc:
CPU: Unspecified Platform: Unspecified

Description

The current t.rast.aggregate fails on Windows:

C:\>t.rast.aggregate in=CA_tmean_temporal@tmean out=CA_tmean_annual basename=yea
r granularity="1 years" method=average
Traceback (most recent call last):
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn/scripts/t.rast.aggregate.py", line 1
96, in <module>
    main()
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn/scripts/t.rast.aggregate.py", line 1
73, in main
    overwrite=gcore.overwrite())
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\temporal\aggregatio
n.py", line 308, in aggregate_by_topology
    process_queue.put(mod)
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\module.py", line 206, in put
    self._list[self._proc_count].run()
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\module.py", line 693, in run
    G_debug(1, self.get_bash())
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\env.py", line 32, in G_debug
    debug_level = get_debug_level()
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\env.py", line 25, in get_debug_level
    debug = get_env().get('DEBUG')
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\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

We tried to aggregate temperature time series.

Change History (4)

comment:1 by huhabla, 9 years ago

Fixed in 66061, please test.

in reply to:  1 comment:2 by neteler, 9 years ago

Replying to huhabla:

Fixed in r66061, please test.

Great, issue solved, thanks. Please backport it (otherwise I can do that)

comment:3 by neteler, 9 years ago

Resolution: fixed
Status: newclosed

Backported in r66106. Closing.

comment:4 by neteler, 8 years ago

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.