#3494: r.thin crashes after 84 passes
-------------------------+-------------------------
 Reporter:  pitstop      |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  Raster       |    Version:  7.4.0
 Keywords:               |        CPU:  Unspecified
 Platform:  MSWindows 7  |
-------------------------+-------------------------
 Hi Community,

 I wanted to use r.thin on a raster map before r.to.vect on the result but
 r.thin crashes after 84 passes every time. Smaller number of iterations
 run without any problems. I was able to reproduce the error by using
 r.thin on the elevation.dem from the Spearfish data set. The following
 error is printed to the console.

 {{{
 Exception in thread Thread-25:
 Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\Python27\lib\threading.py", line
 808, in __bootstrap_inner
     self.run()
   File "C:\OSGEO4~1\apps\grass\grass-7.4.0\gui\wxpython\core
 \gconsole.py", line 156, in run
     self.resultQ.put((requestId, self.requestCmd.run()))
   File "C:\OSGEO4~1\apps\grass\grass-7.4.0\gui\wxpython\core
 \gcmd.py", line 614, in run
     self._redirect_stream()
   File "C:\OSGEO4~1\apps\grass\grass-7.4.0\gui\wxpython\core
 \gcmd.py", line 643, in _redirect_stream
     self.stderr.write(line)
   File "C:\OSGEO4~1\apps\grass\grass-7.4.0\gui\wxpython\core
 \gconsole.py", line 300, in write
     self.message += line.split(':', 1)[1].strip() + '\n'
 IndexError: list index out of range
 }}}

 Any Ideas what might be going wrong?

 The output of g.versoin -rge


 {{{
 version=7.4.0
 date=2018
 revision=r72154
 build_date=2018-01-27
 build_platform=x86_64-w64-mingw32
 build_off_t_size=8
 libgis_revision=70829
 libgis_date="2017-04-04 09:43:02 +0200 (Tue, 04 Apr 2017) "
 proj4=4.9.3
 gdal=2.2.3
 geos=3.5.0
 sqlite=3.17.0
 }}}


 Cheers,

 Stefan

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3494>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to