[GRASS-dev] [GRASS GIS] #2427: r.cost doesn't finish on Windows

#2427: r.cost doesn't finish on Windows
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-releasebranch70
Keywords: r.cost | Platform: MSWindows 8
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
On Windows, r.cost doesn't finish, it keeps running and outputting
progress over 100%. It seems that some loop is not finishing.

How to test in nc_spm:
{{{
g.region swwake_30m -p
v.to.rast roadsmajor out=roadsmajor use=val type=line
r.mapcalc "area_one = 1"
r.cost -k in=area_one output=dist_toroad start_rast=roadsmajor
}}}

On Linux, this seems to be running fine. When I try not to use -k on
Windows, it finishes correctly. But the user who actually found this was
trying to run it without -k and still it didn't work (but I can't confirm
it).

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

#2427: r.cost doesn't finish on Windows
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-releasebranch70
Keywords: r.cost | Platform: MSWindows 8
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by mmetz):

Replying to [ticket:2427 annakrat]:
> On Windows, r.cost doesn't finish, it keeps running and outputting
progress over 100%. It seems that some loop is not finishing.

Fixed in r62043,4 (trunk, 7.0).

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

#2427: r.cost doesn't finish on Windows
--------------------------+-------------------------------------------------
  Reporter: annakrat | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-releasebranch70
Resolution: fixed | Keywords: r.cost
  Platform: MSWindows 8 | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by annakrat):

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

Comment:

Replying to [comment:1 mmetz]:
> Replying to [ticket:2427 annakrat]:
> > On Windows, r.cost doesn't finish, it keeps running and outputting
progress over 100%. It seems that some loop is not finishing.
>
> Fixed in r62043,4 (trunk, 7.0).

Thanks for such a quick fix. It's working now.

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