Opened 12 years ago

Closed 12 years ago

#160 closed defect (fixed)

WinGRASS: v.report incompatability issue

Reported by: isaacullah Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: Default Version: 6.3.0
Keywords: v.report paste WinGRASS Cc:
CPU: Unspecified Platform: Unspecified

Description

v.report currently will not function in WinGRASS. I have determined that this is because it utilizes the bash command "paste", which is not supported in the Msys shell (ie. there is no such program as paste.exe in the Mysys/bin directory). I cannot think of an appropriate replacement for the way "paste" is being used in the current script, but I'm sure that some workaround can be discovered.

Change History (4)

comment:1 Changed 12 years ago by mlennert

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts.

Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435

Moritz

comment:2 in reply to:  1 ; Changed 12 years ago by 4everskiff

Summary: v.report WinGRASS incompatability issueWinGRASS: v.report incompatability issue

Replying to mlennert:

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts.

Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435

Moritz

MSYS is already installed by default in WinGRASS.

Marco

comment:3 in reply to:  2 Changed 12 years ago by 4everskiff

Replying to 4everskiff:

Replying to mlennert:

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts.

Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435

Moritz

MSYS is already installed by default in WinGRASS.

Marco

It would be good to collect some usefull utils not contained in the standard MSYS release (such as paste) to be included in the next WinGRASS releases.

Marco

comment:4 Changed 12 years ago by 4everskiff

Resolution: fixed
Status: newclosed

I already did the job on my local machine. All the MSYS coreutils will be added to the next WinGRASS release.

This done, I checked the v.report module using the North-Carolina sample database: it worked fine for me.

Until the next release will be published, do as follows:

Download the coreutils package from here: http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2

Unpack it to a temporary folder, then copy all the content of the coreutils-5.97 folder to %your GRASS installation path%\msys

Marco

Note: See TracTickets for help on using tickets.