[GRASS-dev] [GRASS GIS] #3494: r.thin crashes after 84 passes

2018-02-13 Thread GRASS GIS
#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: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3494: r.thin crashes after 84 passes

2018-02-13 Thread GRASS GIS
#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
Resolution:   |   Keywords:
   CPU:  Unspecified  |   Platform:  MSWindows 7
--+-

Comment (by mlennert):

 Replying to [ticket:3494 pitstop]:
 > 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.

 While this should probably be handled more gracefully, could you explain
 what you are trying to do with r.thin ? Why would you run r.thin on a DEM
 ? r.thin is meant to thin raster lines (represented by some form of
 discrete pixel values) to single pixel width so as to make their
 vectorisation possible. Running it on a raster map with a continuous
 variable doesn't make sense in my understanding.

--
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3495: 7.4 version not available for Ubuntu 17.10

2018-02-13 Thread GRASS GIS
#3495: 7.4 version not available for Ubuntu 17.10
---+-
 Reporter:  glaroc |  Owner:  grass-dev@…
 Type:  defect | Status:  new
 Priority:  normal |  Milestone:  7.4.1
Component:  Packaging  |Version:  unspecified
 Keywords: |CPU:  Unspecified
 Platform:  Linux  |
---+-
 The download inscructions for Ubuntu mention:

 # 1.b) Users of non-LTS release (like Ubuntu 17.10): Add GRASS Stable PPA
 sudo add-apt-repository ppa:grass/grass-stable

 However, the grass-stable ppa does not contain 7.4 packages and does not
 contain files for artful.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3493: Compilation error with python 2.6

2018-02-13 Thread GRASS GIS
#3493: Compilation error with python 2.6
--+-
  Reporter:  vesnikos |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:
 Component:  Compiling|Version:  svn-trunk
Resolution:  fixed|   Keywords:
   CPU:  Unspecified  |   Platform:  Linux
--+-
Changes (by mmetz):

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


Comment:

 In [changeset:"72236" 72236]:
 {{{
 #!CommitTicketReference repository="" revision="72236"
 restore compatibility with python2.6- (fixes #3493)
 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3494: r.thin crashes after 84 passes

2018-02-13 Thread GRASS GIS
#3494: r.thin crashes after 84 passes
--+-
  Reporter:  pitstop  |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:
 Component:  wxGUI|Version:  7.4.0
Resolution:   |   Keywords:
   CPU:  Unspecified  |   Platform:  MSWindows 7
--+-
Changes (by mmetz):

 * component:  Raster => wxGUI


Comment:

 Replying to [comment:1 mlennert]:
 > Replying to [ticket:3494 pitstop]:
 > > 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.
 >
 > While this should probably be handled more gracefully,

 On the OS command line
 {{{
 g.region -p rast=elevation.dem
 r.thin in=elevation.dem out=elevation.dem.thin it=1000
 }}}
 finishes successfully after 229 passes.

 Apparently the problem is that the gui can't handle the messages produced
 by r.thin, i.e. the gui crashes, not r.thin.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3493: Compilation error with python 2.6

2018-02-13 Thread GRASS GIS
#3493: Compilation error with python 2.6
--+-
  Reporter:  vesnikos |  Owner:  grass-dev@…
  Type:  defect   | Status:  reopened
  Priority:  normal   |  Milestone:  7.4.1
 Component:  Compiling|Version:  svn-trunk
Resolution:   |   Keywords:  python
   CPU:  Unspecified  |   Platform:  Linux
--+-
Changes (by neteler):

 * status:  closed => reopened
 * keywords:   => python
 * resolution:  fixed =>
 * milestone:   => 7.4.1


Comment:

 Re-opened for backport

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3493: Compilation error with python 2.6

2018-02-13 Thread GRASS GIS
#3493: Compilation error with python 2.6
--+-
  Reporter:  vesnikos |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.4.1
 Component:  Compiling|Version:  svn-trunk
Resolution:  fixed|   Keywords:  python
   CPU:  Unspecified  |   Platform:  Linux
--+-
Changes (by mmetz):

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


Comment:

 Replying to [comment:2 neteler]:
 > Re-opened for backport

 New in trunk, does not apply to 7.4-, thus fixed.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3493: Compilation error with python 2.6

2018-02-13 Thread GRASS GIS
#3493: Compilation error with python 2.6
--+-
  Reporter:  vesnikos |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.4.1
 Component:  Compiling|Version:  svn-trunk
Resolution:  fixed|   Keywords:  python
   CPU:  Unspecified  |   Platform:  Linux
--+-

Comment (by wenzeslaus):

 Note that `sys.version_info.major` is at more places.
 `sys.version_info[0]` works all right in 3, but in general I'm not sure if
 we can maintain 2.6 compatibility while using 3
 (https://docs.python.org/3/howto/pyporting.html#drop-support-for-
 python-2-6-and-older).

--
Ticket URL: 
GRASS GIS 

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