<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="NO-BOK" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello im student named Håvard taking a gis class in Norway. I keep getting the same error when trying to use grass in qgis and my teatcher told me to ask here since he had no Clue.
</p>
<p class="MsoNormal">Under is the log from trying to do a V.rast.stats in qgis. The program Version are also here im not sure what to post either in this mail since i am really New to this.
<br>
<br>
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#777777">QGIS version: 3.8.1-Zanzibar</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:#777777">QGIS code revision: dcd95cc648</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:#777777">Qt version: 5.11.2</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:#777777">GDAL version: 2.4.1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:#777777">GEOS version: 3.7.2-CAPI-1.11.0 b55d2125</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:#777777">PROJ version: Rel. 5.2.0, September 15th, 2018</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">Processing algorithm…<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><b>Algorithm 'v.rast.stats' starting…</b><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">Input parameters:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">{ 'GRASS_MIN_AREA_PARAMETER' : 0.0001, 'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'GRASS_SNAP_TOLERANCE_PARAMETER'
 : -1, 'GRASS_VECTOR_DSCO' : '', 'GRASS_VECTOR_EXPORT_NOCAT' : False, 'GRASS_VECTOR_LCO' : '', 'column_prefix' : 'hogst', 'map' : 'C:/Gis/øving 8/hedmark_kommuner.gpkg|layername=output', 'method' : [0,1,2,3,4,5,6,7,8,9,10,11,12], 'output' : 'TEMPORARY_OUTPUT',
 'percentile' : 90, 'raster' : 'C:/Gis/øving 8/klippet transformert.tif' }</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-paragraph-type:empty;-qt-block-indent:0">
<o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">g.proj -c proj4="+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">v.in.ogr min_area=0.0001 snap=-1.0 input="C:\Gis\øving 8\hedmark_kommuner.gpkg" layer="output" output="vector_5d7ba884cdc462" --overwrite -o</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">r.external input="C:\Gis\øving 8\klippet transformert.tif" band=1 output="rast_5d7ba884cde683" --overwrite -o</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">g.region n=6957956.983371275 s=6633986.983371275 e=717076.6256832004 w=529936.6256832004 res=30.0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">v.rast.stats -c map=vector_5d7ba884cdc462 raster=rast_5d7ba884cde683 column_prefix="hogst" method="number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile"
 percentile=90 --overwrite</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">v.out.ogr type="auto" input="vector_5d7ba884cdc462" output="C:/Users/Håvard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg"
 format="GPKG" --overwrite</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Cleaning up temporary files...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Starting GRASS GIS...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Concurrent mapset locking is not supported on Windows</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Executing <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> ...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\H†vard\Documents>chcp 1252 1>NUL</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>g.proj -c proj4="+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region
 from the default</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Projection information updated</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>v.in.ogr min_area=0.0001 snap=-1.0 input="C:\Gis\øving 8\hedmark_kommuner.gpkg" layer="output" output="vector_5d7ba884cdc462"
 --overwrite -o</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Over-riding projection check</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Check if OGR layer <output> contains polygons...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">0..4..9..13..18..22..27..31..36..40..45..50..54..59..63..68..72..77..81..86..90..95..100</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Creating attribute table for layer <output>...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Unable to open database <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\temp_location\PERMANENT\sqlite\sqlite.db> by driver
 <sqlite></span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">ERROR: Unable to open database <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\temp_location\PERMANENT\sqlite\sqlite.db> by driver
 <sqlite></span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>r.external input="C:\Gis\øving 8\klippet transformert.tif" band=1 output="rast_5d7ba884cde683" --overwrite -o</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Over-riding projection check</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Reading band 1 of 1...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Link to raster map <rast_5d7ba884cde683> created.</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>g.region n=6957956.983371275 s=6633986.983371275 e=717076.6256832004 w=529936.6256832004 res=30.0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>v.rast.stats -c map=vector_5d7ba884cdc462 raster=rast_5d7ba884cde683 column_prefix="hogst" method="number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile"
 percentile=90 --overwrite</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Coor file of vector map <vector_5d7ba884cdc462@PERMANENT> is larger than it should be (18 bytes excess)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Coor file of vector map <vector_5d7ba884cdc462@PERMANENT> is larger than it should be (18 bytes excess)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Topology not available for vector map <vector_5d7ba884cdc462@PERMANENT>. Registering primitives...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Unable to open vector map <vector_5d7ba884cdc462@PERMANENT> on level 2. Try to rebuild vector topology with v.build.</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">ERROR: Unable to open vector map <vector_5d7ba884cdc462></span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">ERROR: An error occurred while converting vector to raster</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: No data base element files found</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Execution of <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> finished.</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Cleaning up temporary files...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Press any key to continue . . .</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Cleaning up temporary files...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Starting GRASS GIS...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Concurrent mapset locking is not supported on Windows</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Executing <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> ...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\H†vard\Documents>chcp 1252 1>NUL</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>v.out.ogr type="auto" input="vector_5d7ba884cdc462" output="C:/Users/HÃ¥vard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg"
 format="GPKG" --overwrite</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">WARNING: Unable to open vector map <vector_5d7ba884cdc462@PERMANENT> on level 2. Try to rebuild vector topology with v.build.</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="color:red">ERROR: Unable to open vector map <vector_5d7ba884cdc462></span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">C:\Users\Håvard\Documents>exit</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Execution of <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> finished.</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Cleaning up temporary files...</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New";color:#777777">Press any key to continue . . .</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">Execution completed in 5.68 seconds<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">Results:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0"><span style="font-family:"Courier New"">{'output': <QgsProcessingOutputLayerDefinition {'sink':TEMPORARY_OUTPUT, 'createOptions': {'fileEncoding': 'System'}}>}</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-paragraph-type:empty;-qt-block-indent:0">
<o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">Loading resulting layers<o:p></o:p></p>
<p class="MsoNormal" style="-qt-block-indent:0"><span style="color:red">The following layers were not correctly generated.<ul><li>C:/Users/Håvard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg</li></ul>You
 can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.</span><o:p></o:p></p>
</div>
</body>
</html>