[GRASS-dev] [GRASS GIS] #3727: t.rast.aggregate fails with python3

GRASS GIS trac at osgeo.org
Thu Feb 14 15:36:17 PST 2019


#3727: t.rast.aggregate fails with python3
-------------------------+-------------------------------------------------
  Reporter:  veroandreo  |      Owner:  grass-dev@…
      Type:  defect      |     Status:  new
  Priority:  major       |  Milestone:  7.8.0
 Component:  Temporal    |    Version:  svn-trunk
Resolution:              |   Keywords:  t.rast.aggregate, t.rast.algebra,
       CPU:              |  python3
  Unspecified            |   Platform:  Unspecified
-------------------------+-------------------------------------------------

Comment (by huhabla):

 This problem can be solved by wrapping list() around the dictionary value
 type in "temporal/spatio_temporal_relationships.py", line 378, in
 _detect_first:

 {{{
 prev_ = list(self._store.values())[0]
 }}}

 Source: https://stackoverflow.com/questions/17431638/get-typeerror-dict-
 values-object-does-not-support-indexing-when-using-python

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3727#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list