<div dir="ltr"><div>We have the same "new" issue in 6.4. I would just remove those warnings.</div><div><br></div><div>It looks like those warning messages are somehow related to r22844 by Glynn. The messages may be useful, but printing one warning per element for the same map is too much and the user doesn't need to know what element is being accessed. If we definitely want to show these similar messages, they should be per map, not per element per map to avoid too much and annoying verbosity.</div>
<div><br></div><div>But still, IMHO, I don't see them *that* useful because the find_file returns the first file found in the search path based on a known and defined rule, which the user should already be familiar with. It's not that something unexpected is happening. Why not changing them to G_verbose_message or even G_debug?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 22, 2014 at 3:25 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Sun, Jun 22, 2014 at 5:16 AM, Huidae Cho <<a href="mailto:grass4u@gmail.com">grass4u@gmail.com</a>> wrote:<br>

> Hi Markus,<br>
><br>
> That was r60261. It just suppresses the warnings.<br>
<br>
</div>I see, so G_find_raster2() calls G_find_file2() calls find_file() in<br>
lib/gis/find_file.c<br>
<div class=""><br>
> IMHO, those found in<br>
> multiple mapsets warnings are very noisy and unnecessary.<br>
<br>
</div>Yes, definitely. And it is a "new" issue in GRASS 7, same use cases<br>
behave properly in GRASS 6.<br>
<div class=""><br>
> Sometimes it<br>
> prints exactly the same messages multiple times and sometimes breaks<br>
> outputs. I think it's better to not print the warnings by default and print<br>
> them based on an argument or something, if we really need them.<br>
<br>
</div>Should r60261 better be fixed in<br>
lib/gis/find_file.c<br>
<br>
?<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888">Markus<br>
</font></span></blockquote></div><br></div>