Hi Developers

The contour plugin I have been maintaining seems to occasionally lose the C++ 
object that its processing algorithm is using.
In particular this happens when changing settings.

Before I get lost trying to track this through the Python/SWIG bindings and 
comparing with other processing algorithms I am wondering if this is familiar 
or you can offer ideas about how to track it down.  It seems either my python 
object is persisting too long or or the underlying C++ object not long enough, 
but I'm very unfamiliar with SWIG so any suggestions would be very welcome 🙂

Thanks
Chris
________________________________
From: Taras Dubrava <notificati...@github.com>
Sent: 04 December 2022 01:11
To: ccrook/QGIS-Contour-Plugin <qgis-contour-plu...@noreply.github.com>
Cc: Subscribed <subscri...@noreply.github.com>
Subject: [ccrook/QGIS-Contour-Plugin] RuntimeError : wrapped C/C++ object of 
type ContourGeneratorAlgorithm has been deleted (Issue #46)


Every time when I change the background colour in QGIS the following error 
appears

[image]<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F17712182%2F205440281-59f0e4e0-0cec-4227-9701-5a61ef0395c2.png&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780766122%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xo9sukyqQCIbJwoHKSc4eyQ%2FDCDzX7%2BOfqO3KXdcx7I%3D&reserved=0>

QGIS 3.28 Firenze

—
Reply to this email directly, view it on 
GitHub<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fccrook%2FQGIS-Contour-Plugin%2Fissues%2F46&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780766122%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QxDFuE87Xpbf%2F2e7vAuPPua5BSiyjW%2BxKrL1KaKK4WU%3D&reserved=0>,
 or 
unsubscribe<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAE2CESBOUFHWGZBV5OK7XDWLM2FRANCNFSM6AAAAAASSW5ZAU&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780922181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zR%2BR5PfFM7NlJQBaP0EoaqX9xavj3no4%2B6xJAgdQTB0%3D&reserved=0>.
You are receiving this because you are subscribed to this thread.Message ID: 
<ccrook/QGIS-Contour-Plugin/issues/4...@github.com>

________________________________

This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to