<div dir="ltr"><div dir="auto"><div>Hola Juan,<br><br><div class="gmail_quote"><div dir="ltr">El mié., 20 feb. 2019 12:52, Juan Lopez <<a href="mailto:cubarro@gmail.com" target="_blank">cubarro@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Veronica.<br>
I am agree with you. Maybe Nikos needs maplotlib, but I get allways<br>
the same error. Here is a copy of my terminal messages:<br>
<br>
Traceback (most recent call last):<br>
  File "/home/jefe/.grass7/addons/scripts/r.width.funct",<br>
line 135, in <module><br>
    sys.exit(main())<br>
  File "/home/jefe/.grass7/addons/scripts/r.width.funct",<br>
line 84, in main<br>
    prc[0,0] , prc[0,1] = findint(kl,0.05) , 0.05<br>
  File "/home/jefe/.grass7/addons/scripts/r.width.funct",<br>
line 128, in findint<br>
    z1, z2, f1, f2 = kl[int(Xf[0])][0], kl[int(Xf[0]-1)][0],<br>
kl[int(Xf[0])][1], kl[int(Xf[0]-1)][1]<br>
IndexError: invalid index to scalar variable.<br>
('Tot. cells', 3679327.0)<br>
('Tot. area', 3456746376.8999004)<br>
('Max distance', 69179.644669000001)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">But is this the error when installing? <br></div><div dir="auto"><br></div><div dir="auto">It seems more like the error after using the command itself. If that's the case, please share the exact command you used, so others can help. Also, if you could reproduce the error with North Carolina dataset, that would be even better.</div><div dir="auto"><br></div><div dir="auto">Vero</div><div dir="auto"><br></div></div>
</div>