[GRASS-dev] [GRASS GIS] #2731: t.rast.aggregate: ValueError: too many values to unpack

#2731: t.rast.aggregate: ValueError: too many values to unpack
------------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: t.rast.aggregate | CPU: Unspecified
Platform: Unspecified |
------------------------------+-------------------------
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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2731&gt;
GRASS GIS <https://grass.osgeo.org>

#2731: t.rast.aggregate: ValueError: too many values to unpack
--------------------------+------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.rast.aggregate
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------

Comment (by huhabla):

Fixed in 66061, please test.

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

#2731: t.rast.aggregate: ValueError: too many values to unpack
--------------------------+------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.rast.aggregate
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------

Comment (by neteler):

Replying to [comment:1 huhabla]:
> Fixed in r66061, please test.

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

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

#2731: t.rast.aggregate: ValueError: too many values to unpack
--------------------------+------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Resolution: fixed | Keywords: t.rast.aggregate
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

Backported in r66106. Closing.

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