[GRASS-user] WG: addon r.stream.distance fails on linux mint 17.

2015-06-25 Thread Rengifo Ortega
Rengifo Ortega rengi...@yahoo.de schrieb am 12:16 Donnerstag, 18.Juni 2015: Dear Community, today I tried to install r.stream.distance in grass 70 running o linux mint machine 32 bits, using the g.extension gui and it failed. Any idea  how to solve this issue. Any help will be

Re: [GRASS-user] addon r.stream.distance fails on linux mint 17.

2015-06-25 Thread Moritz Lennert
On 25/06/15 09:09, Rengifo Ortega wrote: Dear Community, today I tried to install r.stream.distance in grass 70 running o linux mint machine 32 bits, using the g.extension gui and it failed. Any idea how to solve this issue. Any help will be appreciated. See below for details ! (Thu Jun 18

Re: [GRASS-user] Error trying to compile grass 7 w/libLAS Debian Jessie

2015-06-25 Thread César Augusto Ramírez Franco
2015-06-25 1:09 GMT-05:00 César Augusto Ramírez Franco caesar...@gmail.com : ​The fact that I'm getting the same error on 7.0.0, 7.0.svn and 7.0.1RC1 makes me think there must be something I'm doing wrong, or maybe the problem is in the liblas-bin and liblas-dev packages on debian ​repos.

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Moritz Lennert
On 25/06/15 08:58, Andrea Peri wrote: Hi Vaclav,, I send the results of tests: outside from grass: python -c import grass.script as grass Traceback (most recent call last): File string, line 1, in module ImportError: No module named grass.script -

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Moritz Lennert
On 24/06/15 15:09, Vaclav Petras wrote: It seems like one. I think it might help, at least help to debug, if you replace import grass.script as grass by import grass.script as gscript and grass. by gscript.. I think this change should be done anyway in all source code. Could you explain your

Re: [GRASS-user] Problem in running r.sim.water

2015-06-25 Thread vishal tiwari
Dear Ma'am, Thank you for your response. Over the past couple of days I tried the r.sim.water over various number of data-sets and I was able to get the results for elevation data which have resolution of size greater than 10m. Although the results for very high resolution data-set were not

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 3:40 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: Everything looks normal to me. Have you tried launching i.pansharpen from inside grass ? I thought that this is what Andrea was doing. Andrea, can you please confirm that or try again? By the way, thanks for

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 2:58 AM, Andrea Peri aperi2...@gmail.com wrote: inside grass: python -c import grass.script as grass (no error) python -c import grass (no error) I don't understand why it should be different when called from script. python -c import sys; print(sys.path) ['',

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 3:41 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 24/06/15 15:09, Vaclav Petras wrote: It seems like one. I think it might help, at least help to debug, if you replace import grass.script as grass by import grass.script as gscript and grass. by gscript..

Re: [GRASS-user] Problem in running r.sim.water

2015-06-25 Thread vishal tiwari
Looks like changing the projection system of the data seems to be working. On 25 June 2015 at 13:33, vishal tiwari hi.vishal...@gmail.com wrote: Dear Ma'am, Thank you for your response. Over the past couple of days I tried the r.sim.water over various number of data-sets and I was able to

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 2:58 AM, Andrea Peri aperi2...@gmail.com wrote: outside from grass: python -c import grass Traceback (most recent call last): File string, line 1, in module ImportError: No module named grass Expected behavior, but at least we know that there is no package called

[GRASS-user] thanks : addon r.stream.distance fails on linux mint 17.

2015-06-25 Thread Rengifo Ortega
Hei Moritz, Thanks a lot for your suggestion it did solve my problem. I also want to excuse me for triple posting. I got a delayed response from my email server, and thought my emails had not been posted. On Thu, 25 Jun 2015 09:42:58 +0200 Moritz Lennert mlenn...@club.worldonline.be wrote: Try

Re: [GRASS-user] Error trying to compile grass 7 w/libLAS Debian Jessie

2015-06-25 Thread César Augusto Ramírez Franco
On Thursday, June 25, 2015, Vaclav Petras wenzesl...@gmail.com wrote: On Thu, Jun 25, 2015 at 2:35 AM, César Augusto Ramírez Franco caesar...@gmail.com javascript:_e(%7B%7D,'cvml','caesar...@gmail.com'); wrote: 2015-06-25 1:09 GMT-05:00 César Augusto Ramírez Franco caesar...@gmail.com

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 11:38 AM, Nikos Alexandris n...@nikosalexandris.net wrote: Yep, but a scripter wouldn't want to repeat `grass.script.` everytime. Would he? That's why I think import grass.script as gscript should be used. The examples were just showing different scenarios and

Re: [GRASS-user] Error trying to compile grass 7 w/libLAS Debian Jessie

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 2:35 AM, César Augusto Ramírez Franco caesar...@gmail.com wrote: 2015-06-25 1:09 GMT-05:00 César Augusto Ramírez Franco caesar...@gmail.com: ​The fact that I'm getting the same error on 7.0.0, 7.0.svn and 7.0.1RC1 makes me think there must be something I'm doing

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Nikos Alexandris
* Vaclav Petras wenzesl...@gmail.com [2015-06-25 09:58:47 -0400]: On Thu, Jun 25, 2015 at 3:41 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 24/06/15 15:09, Vaclav Petras wrote: It seems like one. I think it might help, at least help to debug, if you replace import

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Andrea Peri
I report the last tests: 2015-06-25 15:15 GMT+02:00 Vaclav Petras wenzesl...@gmail.com: /usr/bin/env python -c import sys; print(sys.path) ~$ /usr/bin/env python -c import sys; print(sys.path) ['', '/usr/local/lib/python2.7/dist-packages/GDAL-2.0.0-py2.7-linux-x86_64.egg',

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 5:40 PM, Andrea Peri aperi2...@gmail.com wrote: I report the last tests: 2015-06-25 15:15 GMT+02:00 Vaclav Petras wenzesl...@gmail.com: /usr/bin/env python -c import sys; print(sys.path) ~$ /usr/bin/env python -c import sys; print(sys.path) ['',

Re: [GRASS-user] Error trying to compile grass 7 w/libLAS Debian Jessie

2015-06-25 Thread Vaclav Petras
On Thu, Jun 25, 2015 at 4:59 PM, César Augusto Ramírez Franco caesar...@gmail.com wrote: The package that has to be installed is liblas-c-dev, not liblas-dev. I tried with that one and it compiled succesfully. Thanks!!! Good. That makes sense. libLAS is C++ but GRASS uses its C interface.

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Nikos Alexandris
* Vaclav Petras wenzesl...@gmail.com [2015-06-25 11:42:45 -0400]: On Thu, Jun 25, 2015 at 11:38 AM, Nikos Alexandris n...@nikosalexandris.net wrote: Yep, but a scripter wouldn't want to repeat `grass.script.` everytime. Would he? That's why I think import grass.script as gscript

Re: [GRASS-user] Error trying to compile grass 7 w/libLAS Debian Jessie

2015-06-25 Thread César Augusto Ramírez Franco
2015-06-24 22:03 GMT-05:00 Vaclav Petras wenzesl...@gmail.com: On Wed, Jun 24, 2015 at 10:30 PM, César Augusto Ramírez Franco caesar...@gmail.com wrote: On the ticket I found it says: Adding the LIBLAS_INC to CFLAGS solved this How do I do that? I also tried the 7.0.1RC1 and got the

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Andrea Peri
Hi Vaclav,, I send the results of tests: outside from grass: python -c import grass.script as grass Traceback (most recent call last): File string, line 1, in module ImportError: No module named grass.script - outside from grass: python -c import

Re: [GRASS-user] addon r.stream.distance fails on linux mint 17.

2015-06-25 Thread Rengifo Ortega
Dear Community, today I tried to install r.stream.distance in grass 70 running o linux mint machine 32 bits, using the g.extension gui and it failed. Any idea  how to solve this issue. Any help will be appreciated. See below for details ! (Thu Jun 18 12:04:41 2015)