<div dir="ltr"><div>On Wed, Sep 7, 2016 at 11:36 AM, GRASS GIS <<a href="mailto:trac@osgeo.org">trac@osgeo.org</a>> wrote:<br>> #2902: i.segment.hierarchical: Execution of subprocesses was not successful<br>...<br>>  Setting this to True led me to a<br>>  bug in pygrass which still had a call to type='rast' instead of<br>>  type='raster'. Corrected in trunk in r69392.<br><br>There appear to be some more to be fixed but I cannot say which ones<br>are false positives in this sloppy grep search (sorry for the HTML formatting to preserve line breaks):<br><br><span style="font-family:monospace,monospace"></span><span style="font-family:monospace,monospace">find . -type f | xargs grep "'rast'" | grep -v svn/pristine </span><br><span style="font-family:monospace,monospace"></span></div><span style="font-family:monospace,monospace">./scripts/r.shade/<a href="http://r.shade.py">r.shade.py</a>:                      type='rast', name=maps)<br>./scripts/r.grow/<a href="http://r.grow.py">r.grow.py</a>:                              type='rast', name=map)<br>./gui/wxpython/psmap/dialogs.py:            {'rast': self.currRaster, 'type': rasterType})<br>./gui/wxpython/psmap/dialogs.py:            {'rast': currRaster, 'type': str(rasterType)})<br>./gui/wxpython/lmgr/layertree.py:            module = 'rast'<br>./lib/python/gunittest/gutils.py:    if type == 'rast' or  type == 'raster':<br>./lib/python/pygrass/raster/abstract.py:        utils.remove(<a href="http://self.name">self.name</a>, 'rast')<br>./lib/python/pygrass/raster/abstract.py:            utils.rename(<a href="http://self.name">self.name</a>, newname, 'rast')<br>./lib/python/pygrass/modules/grid/grid.py:                 for r in findmaps('rast', location=dst[1], gisdbase=dst[2])]<br>./lib/python/pygrass/modules/interface/testsuite/test_parameter.py:        param = Parameter(diz=dict(name='rast', required='yes',<br>./lib/python/pygrass/modules/interface/testsuite/test_parameter.py:        param = Parameter(diz=dict(name='rast', required='yes',<br>./lib/python/temporal/temporal_algebra.py:              maptype='rast',  mapclass=RasterDataset,<br>./lib/python/script/core.py:    if element == 'raster' or element == 'rast':<br><br><br>find . -type f | xargs grep "'vect'" | grep -v svn/pristine <br>./scripts/v.db.reconnect.all/<a href="http://v.db.reconnect.all.py">v.db.reconnect.all.py</a>:    vectors = gscript.list_grouped('vect')[mapset]<br>./scripts/v.build.all/<a href="http://v.build.all.py">v.build.all.py</a>:    vectors = grass.list_grouped('vect')[mapset]<br>./gui/wxpython/lmgr/layertree.py:            module = 'vect'<br>./lib/python/gunittest/gutils.py:    elif type == 'vect':<br>./lib/python/pygrass/utils.py:    >>> remove('test_vect_2','vect')<br>./lib/python/pygrass/vector/table.py:        >>> copy(test_vector_name,'mycensus','vect')<br>./lib/python/pygrass/vector/table.py:        >>> remove('mycensus', 'vect')<br>./lib/python/pygrass/vector/table.py:        >>> copy(test_vector_name,'mycensus','vect')<br>./lib/python/pygrass/vector/table.py:        >>> remove('mycensus', 'vect')<br>./lib/python/pygrass/vector/table.py:        >>> copy(test_vector_name,'mycensus','vect')<br>./lib/python/pygrass/vector/table.py:        >>> remove('mycensus', 'vect')<br>./lib/python/pygrass/vector/table.py:        >>> copy(test_vector_name,'mycensus','vect')<br>./lib/python/pygrass/vector/table.py:        >>> remove('mycensus','vect')<br>./lib/python/pygrass/vector/abstract.py:                utils.rename(<a href="http://self.name">self.name</a>, newname, 'vect')<br>./lib/python/pygrass/vector/abstract.py:        utils.remove(<a href="http://self.name">self.name</a>, 'vect')<br>./lib/python/pygrass/vector/__init__.py:        >>> copy(test_vector_name,'mytest_vect','vect')<br>./lib/python/pygrass/vector/__init__.py:        >>> remove('mytest_vect', 'vect')<br>./lib/python/script/core.py:    >>> list_grouped('vect', pattern='*roads*')['PERMANENT']<br>./lib/python/script/db.py:    vects = list_strings('vect')<br><br><br></span><div>... anyone willing to go through and fix the few true Python issues?<br><br>Those should then also be backported to 7.2.svn.<br><br>thanks<br>Markus<br></div></div>