<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:895435971;
mso-list-type:hybrid;
mso-list-template-ids:1113483714 336134145 336134147 336134149 336134145 336134147 336134149 336134145 336134147 336134149;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1092315376;
mso-list-type:hybrid;
mso-list-template-ids:714395140 336134145 336134147 336134149 336134145 336134147 336134149 336134145 336134147 336134149;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:38.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:74.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:110.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:146.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:182.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:218.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:254.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:290.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:326.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi All<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does anybody have issues with the Geometry Buffer Tool failing if used more than once in a QGis session?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What I am doing is that I have a polygon representing an area to be planted in trees. I have a stream running through the area and cant plant within 10m of the stream, so I am digitising the stream, creating a 10m buffer and using that to cut an area out of my existing planting polygon. The first time it works a treat and then if I reuse the tool it fails. Only way around is to restart QGIS and then it works fine the first time, but fails if used again.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>QGIS 3.6.3<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Using as follows:<o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>create a few lines. <o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Use the buffer tool to create a region based on parameters and as a result, it creates a temporary layer called “Buffered”. <o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Use that buffer to erase some area from an existing polygon. <o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Close the layer “Buffered” as I no longer need it.<o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Digitise some other lines and repeat the process.<o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Now I get an error, so if I completely close QGIS, restart QGIS it works, but only once. If I go to try the same process a second time it fails, but again restart fixes it.<o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt'><o:p> </o:p></p><p class=MsoNormal>The error is as follows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'>Traceback (most recent call last):<br> File "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools\dtcutter.py", line 43, in process<br> dlg = DtChooseCutterLayer(self.iface, self.isPolygonLayer(passiveLayer), self.lastChoice)<br> File "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\dtDialog.py", line 77, in __init__<br> self.initialize()<br> File "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\dtDialog.py", line 87, in initialize<br> if self.cutterLayer.id() == valueArray[0]:<br>RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'>Tony<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='color:#404040;mso-fareast-language:EN-NZ'>Tony Shepherd</span></b><span style='color:#595959;mso-fareast-language:EN-NZ'> </span><b><span style='mso-fareast-language:EN-NZ'>|</span></b><span style='color:#595959;mso-fareast-language:EN-NZ'> GeoSpatial / Mapping Manager<o:p></o:p></span></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'>Ph 027 435 6193 </span><b><span style='mso-fareast-language:EN-NZ'>|</span></b><span style='color:#595959;mso-fareast-language:EN-NZ'> E tony@farmmaps.nz<o:p></o:p></span></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'>FarmMaps NZ, 3 Kerwood Place, Gore 9740<o:p></o:p></span></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><span style='color:#595959;mso-fareast-language:EN-NZ'><img width=160 height=75 style='width:1.6666in;height:.7812in' id="_x0000_i1027" src="cid:image002.jpg@01D516F6.4C87ED00" alt="FM_logo1_small (Custom)"><o:p></o:p></span></p><p class=MsoNormal style='border:none;padding:0cm'><span style='color:#7B7B7B;mso-fareast-language:EN-NZ'><o:p> </o:p></span></p></div><p class=MsoNormal><b><span style='font-family:"Arial",sans-serif;color:#7B7B7B;mso-fareast-language:EN-NZ'><o:p> </o:p></span></b></p><p class=MsoNormal><a href="http://tonyshepherd8.wixsite.com/home"><b><span style='font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:EN-NZ;text-decoration:none'><img border=0 width=157 height=34 style='width:1.6354in;height:.3541in' id="Picture_x0020_1" src="cid:image003.png@01D516F5.BE5F8FB0"></span></b></a><a href="https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2"><b><span style='font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:EN-NZ;text-decoration:none'><img border=0 width=170 height=37 style='width:1.7708in;height:.3854in' id="Picture_x0020_3" src="cid:image004.png@01D516F5.BE5F8FB0"></span></b></a><b><span style='font-family:"Arial",sans-serif;mso-fareast-language:EN-NZ'><o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>