[GRASS-user] r.stream extension installation error

Hi all,

after a while I decided to upgrade one of my machines to OSX El Capitan and test Michael Barton’s binaries.

All works fine, including 3D viewing (which is giving me headaches on Yosemite). I do get some verbosity on the terminal while moving the mouse around over the wx interface:

2015-12-22 22:25:41.799 Python[746:7507] outHitPart = -1
2015-12-22 22:25:41.799 Python[746:7507] inOptions: {
“is.flipped” = 1;
kCUIPartMaskKey = 768;
kCUIThumbProportionKey = “0.25”;
state = normal;
value = 0;
widget = scrollbar;
}
2015-12-22 22:25:41.799 Python[746:7507] inOptions: {
“is.flipped” = 1;
kCUIPartMaskKey = 768;
kCUIThumbProportionKey = “0.25”;
state = normal;
value = 0;
widget = scrollbar;
}
2015-12-22 22:25:41.800 Python[746:7507] outHitPart = 6

But the real motive of this message is that two of the r.stream.* modules are not installing:

g.extension extension=r.stream.variables svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <r.stream.variables> from GRASS-Addons SVN repository (be patient)…
Compiling…
make: *** No rule to make target /var/folders/wq/mdsw_st97b l_8828pmm49fdr0000gn/T/tmpShWWd0/r.stream.variables/scripts/ r.stream.variables', needed by script’. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.
(Tue Dec 22 22:18:33 2015) Command finished (4 sec)
(Tue Dec 22 22:18:39 2015)

g.extension extension=r.stream.watersheds svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <r.stream.watersheds> from GRASS-Addons SVN repository (be patient)…
Compiling…
make: *** No rule to make target /var/folders/wq/mdsw_st97b l_8828pmm49fdr0000gn/T/tmpHnHf5r/r.stream.watersheds/scripts /r.stream.watersheds', needed by script’. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.
(Tue Dec 22 22:18:44 2015) Command finished (4 sec)

maybe some housekeeping is needed to make sure all works fine?

best

Carlos

···

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

Carlos Grohmann-2 wrote

But the real motive of this message is that two of the r.stream.* modules
are not installing:

g.extension extension=r.stream.variables svnurl=
http://svn.osgeo.org/grass/grass-addons/grass7
Fetching
<r.stream.variables>
from GRASS-Addons SVN repository (be
patient)...
Compiling...
make: *** No rule to make target `/var/folders/wq/mdsw_st97b
l_8828pmm49fdr0000gn/T/tmpShWWd0/r.stream.variables/scripts/
r.stream.variables', needed by `script'. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.
(Tue Dec 22 22:18:33 2015) Command finished (4 sec)

(Tue Dec 22 22:18:39 2015)

g.extension extension=r.stream.watersheds svnurl=
http://svn.osgeo.org/grass/grass-addons/grass7
Fetching
<r.stream.watersheds>
from GRASS-Addons SVN repository (be
patient)...
Compiling...
make: *** No rule to make target `/var/folders/wq/mdsw_st97b
l_8828pmm49fdr0000gn/T/tmpHnHf5r/r.stream.watersheds/scripts
/r.stream.watersheds', needed by `script'. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.
(Tue Dec 22 22:18:44 2015) Command finished (4 sec)

maybe some housekeeping is needed to make sure all works fine?

both scripts aren't python scripts, but #!/bin/bash.

AFAIK these are unsupported in G7.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/r-stream-extension-installation-error-tp5242718p5242760.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Wed, Dec 23, 2015 at 9:46 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

maybe some housekeeping is needed to make sure all works fine?

both scripts aren't python scripts, but #!/bin/bash.

AFAIK these are unsupported in G7.

Of course you *can* use shell scripts also in G7 but they cannot be
installed using g.extension.

Not sure if we can add a mime type check in order to print a better
error message?

Markus

On Wed, Dec 23, 2015 at 12:45 PM, Markus Neteler <neteler@osgeo.org> wrote:

Not sure if we can add a mime type check in order to print a better
error message?

here is a potential code snippet:
http://stackoverflow.com/a/16203777/452464

Markus

OK, they are bash scripts. That makes it easier.

After downloading and moving them to their proper place, I got some errors for an unrecognised character : ^M. That was fixed by replacing the Windows line endings for Unix ones.

The interface of r.stream.variables is a bit messed up, though:

Inline image 1

···

On Wed, Dec 23, 2015 at 9:45 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Dec 23, 2015 at 9:46 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

maybe some housekeeping is needed to make sure all works fine?

both scripts aren’t python scripts, but #!/bin/bash.

AFAIK these are unsupported in G7.

Of course you can use shell scripts also in G7 but they cannot be
installed using g.extension.

Not sure if we can add a mime type check in order to print a better
error message?

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

On Wed, Dec 23, 2015 at 10:18 PM, Carlos Grohmann
<carlos.grohmann@gmail.com> wrote:

The interface of r.stream.variables is a bit messed up, though:

Fixed in r67389: for long parameter descriptions, split into label +
description (shown at mouse-over).

Markus