Opened 10 years ago

Closed 10 years ago

#2427 closed defect (fixed)

r.cost doesn't finish on Windows

Reported by: annakrat Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: Raster Version: svn-releasebranch70
Keywords: r.cost Cc:
CPU: Unspecified Platform: MSWindows 8

Description

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).

Change History (2)

in reply to:  description ; comment:1 by mmetz, 10 years ago

Replying to 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).

in reply to:  1 comment:2 by annakrat, 10 years ago

Resolution: fixed
Status: newclosed

Replying to mmetz:

Replying to 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.

Note: See TracTickets for help on using tickets.