<div dir="ltr"><div><div>Dear Martin,<br><br></div>The error seems to be caused by a single record.<br></div><br>Here is the error message - 

<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">ERROR: Cannot insert new row: insert into tmp1509862383896 values ( 661, 743818, 'ENMAC076001600023897000000', 'E', 'S', 'C', 258.750000, '', 25.386566, -33.806219, '23897', 0.000020, 0.869174, 'MC', 'C07600160002389700000', '2009-08-20', '', '', '', '', '', , , '', '', '', '' )<br></span></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">If I remove this record v.buffer.distance executes completely</p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">I have attached a sample of with the offending record.</p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">

</p><p style="margin:0px;text-indent:0px"><span style="font-weight:600">Algorithm v.buffer.distance - Creates a buffer around features of given type. starting...</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier"">g.proj -c proj4="+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier"">v.in.ogr min_area=0.0001 snap=-1 input="/home/mazizi/test-data" layer=error-area output=tmp1509862383896 --overwrite -o</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier"">g.region n=-33.802331778 s=-33.809531866 e=25.390795097 w=25.38292819 res=100</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier"">v.buffer input="tmp1509862383896" distance="0" tolerance="0.01" output=output98bf354b4c5c4bffb14fc9e15d649c22 --overwrite</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier"">v.out.ogr -s -e input=output98bf354b4c5c4bffb14fc9e15d649c22 type=auto output="/tmp/processing2b242a8d30d6406f8c62be6c79983c49/39c2cc63e0dc47fe84a5fcafa7cc698f" format=ESRI_Shapefile output_layer=output --overwrite</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Cleaning up temporary files... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Starting GRASS GIS... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Executing ... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">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></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Projection information updated </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">WARNING: Datum not recognised by GRASS and no parameters found </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Over-riding projection check </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Check if OGR layer contains polygons... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100 </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Importing 718 features (OGR layer )... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..DBMI-SQLite driver error: </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Error in sqlite3_prepare(): </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">near ",": syntax error </span></p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">DBMI-SQLite driver error: </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Error in sqlite3_prepare(): </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">near ",": syntax error </span></p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">ERROR: Cannot insert new row: insert into tmp1509862383896 values ( 661, 743818, 'ENMAC076001600023897000000', 'E', 'S', 'C', 258.750000, '', 25.386566, -33.806219, '23897', 0.000020, 0.869174, 'MC', 'C07600160002389700000', '2009-08-20', '', '', '', '', '', , , '', '', '', '' ) </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Note: In latitude-longitude coordinate system specify distances in degree unit </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">WARNING: Unable to open vector map on level 2. Try to rebuild vector topology with v.build. </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">ERROR: Unable to open vector map </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">ERROR: Vector map not found </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Execution of finished. </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Cleaning up temporary files... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Cleaning up temporary files... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Starting GRASS GIS... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Executing ... </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">ERROR: Vector map not found </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Execution of finished. </span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)">Cleaning up temporary files... </span></p>
<p style="margin:0px;text-indent:0px">Converting outputs</p>
<p style="margin:0px;text-indent:0px">Loading resulting layers</p>
<p style="margin:0px;text-indent:0px">Algorithm v.buffer.distance - Creates a buffer around features of given type. finished</p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px"></p><p style="margin:0px;text-indent:0px">Strangely though if I run the the same command in a Windows machine I do not get the above error message.<br></p><p style="margin:0px;text-indent:0px"><span style="font-family:"Courier New,courier";color:rgb(169,169,169)"></span></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 2, 2017 at 1:34 PM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2017-11-02 10:47 GMT+01:00 Zizi Jama <<a href="mailto:mazizi.jama@gmail.com">mazizi.jama@gmail.com</a>>:<br>
> I get the error below on running v.buffer.distance via the grass qgis<br>
> plugin.<br>
<br>
</span>please send exact commands with plugin runs and sample data to<br>
reproduce the behaviour. And ideally fill a new ticket [1]. Martin<br>
<br>
[1] <a href="https://trac.osgeo.org/grass/newticket" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/<wbr>newticket</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/<wbr>Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/<wbr>landa</a><br>
</font></span></blockquote></div><br></div>