<div dir="ltr"><div>Dear all,<br><br>I wrote a python script that aims to execute neighbourhood statistics in raster layer. My script uses QThread to update a QList and a QProgressBar and everithing works fine if I run the script from PyCharm, the progressbar and the list are updated. The problem appears when I move my script in a Qgis plugin, the UI appears correctly but clicking OK the software crashes...<br>I am using qgis 2.14 in a linux machine, do you have any advice?<br><br>All the best<br><br></div><br clear="all"><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Sergio Vignali<div><br></div></div></div>
</div></div></div></div></div>