<div dir="ltr"><div>Hi,<br><br></div>I attached the fixed file.<br><br clear="all"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thank You<br></div>Supreet Singh<br><a href="https://singhsupreet.github.io/" target="_blank">https://singhsupreet.github.io/</a><br></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 21, 2018 at 9:17 PM, Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 31 January 2018 at 15:31, sharry gill <<a href="mailto:sharrygill5656@gmail.com">sharrygill5656@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
<br>
Hi Sharry<br>
<span class=""><br>
><br>
> I have attached a simple test, I wrote for r.mode.<br>
><br>
<br>
</span>I run it in nc_basic_spm_grass7 [0] but it fails<br>
<br>
GRASS 7.5.svn (nc_basic_spm_grass7):~ > python ~/testrmode.py<br>
<br>
ERROR: Raster map <facility> not found<br>
ERROR: Raster map <facility> not found<br>
<br>
E<br>
ERROR: Raster map <facility> not found<br>
ERROR: Raster map <facility> not found<br>
<br>
E<br>
ERROR: Raster map <facility> not found<br>
ERROR: Raster map <facility> not found<br>
<br>
F<br>
==============================<wbr>==============================<wbr>==========<br>
ERROR: test_1 (__main__.Testrmode)<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
Traceback (most recent call last):<br>
  File "/home/lucadelu/testrmode.py", line 31, in test_1<br>
    msg="facility in degrees must be between 1 and 1")<br>
  File "/home/lucadelu/compilati/<wbr>grass_trunk/dist.x86_64-pc-<wbr>linux-gnu/etc/python/grass/<wbr>gunittest/case.py",<br>
line 461, in assertRasterMinMax<br>
    stdout = call_module('<a href="http://r.info" rel="noreferrer" target="_blank">r.info</a>', map=map, flags='r')<br>
  File "/home/lucadelu/compilati/<wbr>grass_trunk/dist.x86_64-pc-<wbr>linux-gnu/etc/python/grass/<wbr>gunittest/gmodules.py",<br>
line 131, in call_module<br>
    raise CalledModuleError(returncode, module, kwargs, errors)<br>
CalledModuleError: Module run 1 <a href="http://r.info" rel="noreferrer" target="_blank">r.info</a> ended with error<br>
Process ended with non-zero return code {'map': 'facility', 'flags':<br>
'r', 'stderr': -1, 'stdout': -1}. See the following errors:<br>
ERROR: Raster map <facility> not found<br>
<br>
<br>
==============================<wbr>==============================<wbr>==========<br>
ERROR: test_2 (__main__.Testrmode)<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
Traceback (most recent call last):<br>
  File "/home/lucadelu/testrmode.py", line 37, in test_2<br>
    msg="slope in degrees must be between 0 and 38.68939")<br>
  File "/home/lucadelu/compilati/<wbr>grass_trunk/dist.x86_64-pc-<wbr>linux-gnu/etc/python/grass/<wbr>gunittest/case.py",<br>
line 461, in assertRasterMinMax<br>
    stdout = call_module('<a href="http://r.info" rel="noreferrer" target="_blank">r.info</a>', map=map, flags='r')<br>
  File "/home/lucadelu/compilati/<wbr>grass_trunk/dist.x86_64-pc-<wbr>linux-gnu/etc/python/grass/<wbr>gunittest/gmodules.py",<br>
line 131, in call_module<br>
    raise CalledModuleError(returncode, module, kwargs, errors)<br>
CalledModuleError: Module run 1 <a href="http://r.info" rel="noreferrer" target="_blank">r.info</a> ended with error<br>
Process ended with non-zero return code {'map': 'slope', 'flags': 'r',<br>
'stderr': -1, 'stdout': -1}. See the following errors:<br>
ERROR: Raster map <slope> not found<br>
<br>
<br>
==============================<wbr>==============================<wbr>==========<br>
FAIL: test_3 (__main__.Testrmode)<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
Traceback (most recent call last):<br>
  File "/home/lucadelu/testrmode.py", line 43, in test_3<br>
    msg="geology in degrees must be between 34300 and 43600")<br>
  File "/home/lucadelu/compilati/<wbr>grass_trunk/dist.x86_64-pc-<wbr>linux-gnu/etc/python/grass/<wbr>gunittest/case.py",<br>
line 468, in assertRasterMinMax<br>
    self.fail(self._formatMessage(<wbr>msg, stdmsg))<br>
AssertionError: geology in degrees must be between 34300 and 43600<br>
The actual minimum (217) is smaller than the reference one (34300) for<br>
raster map geology (with maximum 948)<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
Ran 3 tests in 0.905s<br>
FAILED (failures=1, errors=2)<br>
<br>
could you please fix it?<br>
<span class=""><br>
> I am new to Open Source community so I came early, so I can get to know<br>
> about OSGeo and GRASS GIS.<br>
><br>
> Thank You<br>
> Supreet<br>
><br>
<br>
</span>[0] <a href="https://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.tar.gz" rel="noreferrer" target="_blank">https://grass.osgeo.org/<wbr>sampledata/north_carolina/nc_<wbr>basic_spm_grass7.tar.gz</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://www.lucadelu.org" rel="noreferrer" target="_blank">www.lucadelu.org</a><br>
</font></span></blockquote></div><br></div></div>