<div dir="ltr"><div dir="ltr">Yes, I noticed as other modules weren't working either. Stupid..<div><br></div><div>Just got the results with 7.6 and some "nan" values again. </div><div><br></div><div><div>Calculating geometry statistics...</div><div>Calculating statistics for raster maps...</div><div>Calculating neighborhood statistics...</div><div>Creating output vector map...</div><div>ERROR: Error while executing: 'INSERT INTO segmstat_tmp_vect_8116 VALUES (2744, 10.574609,0.000657937002497415,100.010348629312,0.0118722,0.0199653,0.037037,0.0532407,0.0149315167004704,-34.81817527835,-0.440972,-0.375,-0.315972,-0.232639,0.0147358775257243,26.7103955510257,0.370735,0.452658,0.53125,0.60625,0.00759147152076699,10.6500844056518,0.75,0.802083,0.875,0.927083,4.16169760046326,52.4687741848501,2,3,5,7,0.200221189871832,35.183683942494,1,1,2,2,8,13.216384625,8.62095260592,0.00227423524743,0.00305950083943,223.15170811,122.713529331,0.01689609075,0.0219202839649,0.022322058,0.0229396651236,0.029157736625,0.0250281412368,0.03936146125,0.0291593758381,0.00809150063926,0.00998894786878,nan,nan,0.000935102375,0.00149429712142,0.00332539875,0.00553672330287,0.0106704025,0.0177514942977,0.0168798225,0.0277037009502,0.0108558662204,0.00624210011282,36.7678730965,22.2897752507,0.29285125,0.180951460467,0.3513889,0.181596981702,0.41656925,0.180382131329,0.485690125,0.1830333289,0.0149007045801,0.018570035777,30.2038217327,26.3183888064,0.5921816125,0.417141476181,0.642181,0.380369094661,0.699914125,0.345038582134,0.744641,0.316999979767,194.557427777,313.451777334,43.4071398819,21.8790138711,15.0,20.8086520467,20.25,27.6258484033,25.875,34.2798683632,32.375,41.9402476745,164.772935658,278.214855266,39.6227650243,32.7809091847,12.375,19.1307180994,16.25,25.5673131166,21.0,32.3921286735,26.875,40.3622270818)'</div><div>Traceback (most recent call last):</div><div> File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri</div><div>pts/<a href="http://i.segment.stats.py">i.segment.stats.py</a>", line 371, in <module></div><div> main()</div><div> File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri</div><div>pts/<a href="http://i.segment.stats.py">i.segment.stats.py</a>", line 358, in main</div><div> gscript.run_command('db.execute', input=insert_sql,</div><div>quiet=True)</div><div> File "C:\Program Files\GRASS GIS</div><div>7.6.svn\etc\python\grass\script\core.py", line 423, in</div><div>run_command</div><div> return handle_errors(returncode, returncode, args,</div><div>kwargs)</div><div> File "C:\Program Files\GRASS GIS</div><div>7.6.svn\etc\python\grass\script\core.py", line 334, in</div><div>handle_errors</div><div> returncode=returncode)</div><div>grass.exceptions.CalledModuleError: Module run None</div><div>['db.execute', '--q', 'input=Z:\\GRASS_GIS\\Cottica_LUP\\LUP</div><div>1\\.tmp/unknown\\8116.1'] ended with error</div><div>Process ended with non-zero return code 1. See errors in the</div><div>(error) output.</div><div>(Wed Oct 17 13:55:43 2018) Command finished (90 min 41 sec)</div><div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 17, 2018 at 1:48 PM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17/10/18 15:39, Jamille Haarloo wrote:<br>
> Alright. Just tried, but got an old error back again. Also when <br>
> reinstalling r.object.geometry got 'ERROR: File is not a zip file'<br>
> <br>
> i.segment.stats -n map=SegW24IDM4DV4@LUP1 <br>
> rasters=DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1 <br>
> raster_statistics=variance,coeff_var,first_quart,median,third_quart,perc_90 <br>
> area_measures=compact_circle csvfile=Z:\nStats_SegW24IDM4DV4_17okt18 <br>
> vectormap=nvSegW24IDM4DV4 processes=4<br>
> Calculating geometry statistics...<br>
> Traceback (most recent call last):<br>
> File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri<br>
> pts/<a href="http://i.segment.stats.py" rel="noreferrer" target="_blank">i.segment.stats.py</a> <<a href="http://i.segment.stats.py" rel="noreferrer" target="_blank">http://i.segment.stats.py</a>>", line 371, in <module><br>
> main()<br>
> File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri<br>
> pts/<a href="http://i.segment.stats.py" rel="noreferrer" target="_blank">i.segment.stats.py</a> <<a href="http://i.segment.stats.py" rel="noreferrer" target="_blank">http://i.segment.stats.py</a>>", line 220, in main<br>
> quiet=True)<br>
> File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py<br>
> thon\grass\script\core.py", line 395, in run_command<br>
> return handle_errors(returncode, returncode, args,<br>
> kwargs)<br>
> File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py<br>
> thon\grass\script\core.py", line 313, in handle_errors<br>
> returncode=returncode)<br>
> grass.exceptions.CalledModuleError: Module run None<br>
> ['r.object.geometry', '--o', '--q',<br>
> 'output=Z:\\GRASS_GIS/Cottica_LUP/LUP1/.tmp/unknown/7508.0',<br>
> 'input=SegW24IDM4DV4@LUP1'] ended with error<br>
> Process ended with non-zero return code -1073741515. See<br>
> errors in the (error) output.<br>
> (Wed Oct 17 10:33:05 2018) Command finished (0 sec)<br>
> <br>
> g.extension r.object.geometry<br>
> WARNING: Extension <r.object.geometry> already installed. Re-installing...<br>
> Downloading precompiled GRASS Addons <r.object.geometry>...<br>
> ERROR: File is not a zip file: <br>
> <a href="http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.4/r.object.geometry.zip" rel="noreferrer" target="_blank">http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.4/r.object.geometry.zip</a><br>
> (Wed Oct 17 10:32:54 2018) Command finished (1 sec)<br>
<br>
You seem to be using a very old version of GRASS: 7.0.4. There are no <br>
addons available for Windows for that version. The official last release <br>
of the 7.0 line was 7.0.6 and addons are available for that.<br>
<br>
But I would really recommend that you work at least with the current <br>
stable version 7.4.1 (soon 7.4.2) or even with a newer version.<br>
<br>
Moritz<br>
</blockquote></div>