[GRASS-user] sh: 1: v.net.components: not found

Dear GRASS user list,

While accessing GRASS via R i ran over the problem of missing a certain GRASS function: v.net.components
System:

Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise

grass 6.4.1-1ubuntu2

Here is what i did in R (partly):

Created a stream network shape file via execGRASS( "v.net", ...)

and now I wanted to distinguish local stream networks:

execGRASS("v.net.components", flags="overwrite", parameters=list(input="Stream_known_Network",
+ output="Stream_known_connectivity", method="weak"))

Fehler in parseGRASS(cmd, legacyExec = legacyExec) : The command
    v.net.components --interface-description
could not be run (127), and produced the error message:
    sh: 1: v.net.components: not found

Then I looked wether v.net.components is installed,

dpkg -L grass|gedit

...
/usr/lib/grass64/bin/v.neighbors
/usr/lib/grass64/bin/v.net
/usr/lib/grass64/bin/v.net.alloc
/usr/lib/grass64/bin/v.net.iso
/usr/lib/grass64/bin/v.net.path
/usr/lib/grass64/bin/v.net.salesman
/usr/lib/grass64/bin/v.net.steiner
/usr/lib/grass64/bin/v.net.visibility
/usr/lib/grass64/bin/v.normal
...

And it seems like, it is not.

Is my version generally missing the function?

Some help would be very much appreciated,

Thanks very Much,

Gunnar
--
Gunnar Oehmichen
Quantitative Landscape Ecology
Institute for Environmental Sciences
University Koblenz-Landau
Fortstrasse 7
76829 Landau
Germany
http://www.uni-koblenz-landau.de/landau/fb7/umweltwissenschaften/landscape-ecology/Staff/gunnaroehmichen

Dear Gunnar,

On Thu, Oct 24, 2013 at 4:02 PM, Gunnar Oehmichen
<oehm8895@uni-landau.de> wrote:

Dear GRASS user list,

While accessing GRASS via R i ran over the problem of missing a certain
GRASS function: v.net.components

...

grass 6.4.1-1ubuntu2

...

could not be run (127), and produced the error message:
   sh: 1: v.net.components: not found

You would need to update to at least the next dot release: 6.4.2 (bettet 6.4.3):

http://trac.osgeo.org/grass/wiki/Release/6.4.2-News#Newmodules
"

New modules

i.topo.corr - Computes topographic correction of reflectance in
satellite imagery
m.nviz.image - Creates a 3D rendering of GIS data (renamed from nviz_cmd)
v.net.allpairs - Computes the shortest path between all pairs of nodes
in the network
v.net.bridge - Computes bridges and articulation points in the network
v.net.centrality - Computes degree, centrality, betweeness, closeness
and eigenvector centrality measures in the network
v.net.components - Computes strongly and weakly connected components
in the network
v.net.connectivity - Computes vertex connectivity between two sets of
nodes in the network
v.net.distance - Computes shortest distance via the network between
the given sets of features
v.net.flow - Computes the maximum flow between two sets of nodes in the network
v.net.spanningtree - Computes minimum spanning tree for the network
v.net.timetable - Finds shortest path using timetables
"

It has been added to a newer release of GRASS 6 than you have
currently installed.

For ubuntu packages, see
http://grass.osgeo.org/download/software/linux/

Hope this helps,
Markus

Hey Markus,

after searching a bit, it seems like no stable Version of GRASS >= 6.4.2
is available for 12.04. . I hope I have missed a repository. Any hints on that?

Thanks,

Gunnar

Am 24.10.2013 16:17, schrieb Markus Neteler:

Dear Gunnar,

On Thu, Oct 24, 2013 at 4:02 PM, Gunnar Oehmichen
<oehm8895@uni-landau.de> wrote:

Dear GRASS user list,

While accessing GRASS via R i ran over the problem of missing a
certain GRASS function: v.net.components

...

grass 6.4.1-1ubuntu2

...

could not be run (127), and produced the error message: sh: 1:
v.net.components: not found

You would need to update to at least the next dot release: 6.4.2
(bettet 6.4.3):

http://trac.osgeo.org/grass/wiki/Release/6.4.2-News#Newmodules "

New modules

i.topo.corr - Computes topographic correction of reflectance in
satellite imagery m.nviz.image - Creates a 3D rendering of GIS data
(renamed from nviz_cmd) v.net.allpairs - Computes the shortest path
between all pairs of nodes in the network v.net.bridge - Computes
bridges and articulation points in the network v.net.centrality -
Computes degree, centrality, betweeness, closeness and eigenvector
centrality measures in the network v.net.components - Computes
strongly and weakly connected components in the network
v.net.connectivity - Computes vertex connectivity between two sets
of nodes in the network v.net.distance - Computes shortest distance
via the network between the given sets of features v.net.flow -
Computes the maximum flow between two sets of nodes in the network
v.net.spanningtree - Computes minimum spanning tree for the network
v.net.timetable - Finds shortest path using timetables "

It has been added to a newer release of GRASS 6 than you have
currently installed.

For ubuntu packages, see
http://grass.osgeo.org/download/software/linux/

Hope this helps, Markus

--
Gunnar Oehmichen
Quantitative Landscape Ecology
Institute for Environmental Sciences
University Koblenz-Landau
Fortstrasse 7
76829 Landau
Germany
http://www.uni-koblenz-landau.de/landau/fb7/umweltwissenschaften/landscape-ecology/Staff/gunnaroehmichen

On 25/10/13 12:46, Gunnar Oehmichen wrote:

Hey Markus,

after searching a bit, it seems like no stable Version of GRASS >= 6.4.2
is available for 12.04. . I hope I have missed a repository. Any hints
on that?

https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable

Moritz

Thanks,

Gunnar

Am 24.10.2013 16:17, schrieb Markus Neteler:

Dear Gunnar,

On Thu, Oct 24, 2013 at 4:02 PM, Gunnar Oehmichen
<oehm8895@uni-landau.de> wrote:

Dear GRASS user list,

While accessing GRASS via R i ran over the problem of missing a
certain GRASS function: v.net.components

...

grass 6.4.1-1ubuntu2

...

could not be run (127), and produced the error message: sh: 1:
v.net.components: not found

You would need to update to at least the next dot release: 6.4.2
(bettet 6.4.3):

http://trac.osgeo.org/grass/wiki/Release/6.4.2-News#Newmodules "

New modules

i.topo.corr - Computes topographic correction of reflectance in
satellite imagery m.nviz.image - Creates a 3D rendering of GIS data
(renamed from nviz_cmd) v.net.allpairs - Computes the shortest path
between all pairs of nodes in the network v.net.bridge - Computes
bridges and articulation points in the network v.net.centrality -
Computes degree, centrality, betweeness, closeness and eigenvector
centrality measures in the network v.net.components - Computes
strongly and weakly connected components in the network
v.net.connectivity - Computes vertex connectivity between two sets
of nodes in the network v.net.distance - Computes shortest distance
via the network between the given sets of features v.net.flow -
Computes the maximum flow between two sets of nodes in the network
v.net.spanningtree - Computes minimum spanning tree for the network
v.net.timetable - Finds shortest path using timetables "

It has been added to a newer release of GRASS 6 than you have
currently installed.

For ubuntu packages, see
http://grass.osgeo.org/download/software/linux/

Hope this helps, Markus