[GRASS-user] r.basin error

kapo coulibaly kmcoulib at gmail.com
Mon Nov 12 21:17:50 PST 2012


inside /usr/local/grass-6.4.2/tools/g.html2man there is a file called
g.html2man. I moved it outside and deleted the folder with the same name.
After that r.basin installed without error. But when I try to run it get:

GRASS 6.4.2 (test):/usr/local/grass-6.4.2/tools > r.basin
/root/.grass6/addons/r.basin:572: Warning: 'with' will become a reserved
keyword in Python 2.6
  File "/root/.grass6/addons/r.basin", line 572
    with open(prefix+'_parameters.csv', 'w') as f:
            ^
SyntaxError: invalid syntax


On Mon, Nov 12, 2012 at 2:43 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Mon, Nov 12, 2012 at 7:01 PM, kapo coulibaly <kmcoulib at gmail.com>
> wrote:
> > I'm trying to install r.basin addon and I'm getting the following error:
> > GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2 sh
> > /usr/local/grass-6.4.2/tools/g.html2man
> >
> /root//test/scratch/.tmp/fmtslack64/26418.0/dist.x86_64-slackware-linux-gnu/docs/html/r.basin.py.html
> >
> /root//test/scratch/.tmp/fmtslack64/26418.0/dist.x86_64-slackware-linux-gnu/man/man1/r.basin.py.1
> > 1
> > /usr/local/grass-6.4.2/tools/g.html2man:
> > /usr/local/grass-6.4.2/tools/g.html2man: is a directory
>
> This should not be a directory. Could you please check what's inside?
>
> thanks
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121113/da419931/attachment.html>


More information about the grass-user mailing list