[GRASS-user] Problem with r.basin in grass7

Markus Neteler neteler at osgeo.org
Tue Nov 11 11:55:46 PST 2014


Hi Andrea,

On Tue, Nov 11, 2014 at 3:30 AM, Andrea Timmermann <timmermann at gmx.at> wrote:
> Hi Markus,
>
> Thanks a lot for your answer.
>
> I downloaded the new r. basin and run
>
>> "r.basin map=map at Elevation prefix=o coordinates=-71.10394196,43.9865230801
>> threshold=19005 dir="C:\\Users\\Andrea\\Basins"
>
> and I get this error:
>
> ERROR: 'r.stream.distance' required. Please install 'r.stream.distance'
> first using 'g.extension r.stream.distance'
...

Update:
all the ugly error messages are gone as of r62708 and relevant fixes
earlier today. All this was a good test case to get the message
handling better.

Now you get:

GRASS 7.1.svn (nc_spm_08_grass7):~ > r.basin map=elevation
prefix=my_basin coord=637500.0,221750.0 dir=mydir threshold=1000
WARNING: 'r.stream.distance' required. Please install 'r.stream.distance'
         first using 'g.extension r.stream.distance'
ERROR: An ERROR occurred running r.basin

Concerning this issue:

> Then I run:
>> g.extension r.stream.distance
>
> and got:
> Downloading precompiled GRASS Addons <r.stream.distance>...
> Traceback (most recent call last):
...
>     raise BadZipfile, "File is not a zip file"
> zipfile.BadZipfile: File is not a zip file

We have discovered an issue on the Windows build server which creates
the executables of the addon.
In essence, the r.stream.*.exe files are not generates daily as they
should. Martin will look into this asap.

Thanks for your patience! It leads to better code. And I am sure that
all this will be sorted out in the next days.

Best
Markus


More information about the grass-user mailing list