On 17/10/18 15:39, Jamille Haarloo wrote:
Alright. Just tried, but got an old error back again. Also when reinstalling r.object.geometry got 'ERROR: File is not a zip file'

i.segment.stats -n map=SegW24IDM4DV4@LUP1 rasters=DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1 raster_statistics=variance,coeff_var,first_quart,median,third_quart,perc_90 area_measures=compact_circle csvfile=Z:\nStats_SegW24IDM4DV4_17okt18 vectormap=nvSegW24IDM4DV4 processes=4
Calculating geometry statistics...
Traceback (most recent call last):
   File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/i.segment.stats.py <http://i.segment.stats.py>", line 371, in <module>
     main()
   File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/i.segment.stats.py <http://i.segment.stats.py>", line 220, in main
     quiet=True)
   File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py
thon\grass\script\core.py", line 395, in run_command
     return handle_errors(returncode, returncode, args,
kwargs)
   File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py
thon\grass\script\core.py", line 313, in handle_errors
     returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['r.object.geometry', '--o', '--q',
'output=Z:\\GRASS_GIS/Cottica_LUP/LUP1/.tmp/unknown/7508.0',
'input=SegW24IDM4DV4@LUP1'] ended with error
Process ended with non-zero return code -1073741515. See
errors in the (error) output.
(Wed Oct 17 10:33:05 2018) Command finished (0 sec)

g.extension r.object.geometry
WARNING: Extension <r.object.geometry> already installed. Re-installing...
Downloading precompiled GRASS Addons <r.object.geometry>...
ERROR: File is not a zip file: http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.4/r.object.geometry.zip
(Wed Oct 17 10:32:54 2018) Command finished (1 sec)

You seem to be using a very old version of GRASS: 7.0.4. There are no addons available for Windows for that version. The official last release of the 7.0 line was 7.0.6 and addons are available for that.

But I would really recommend that you work at least with the current stable version 7.4.1 (soon 7.4.2) or even with a newer version.

Moritz
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to