<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi Matthias,</div><div><br></div><div>I had a similar problem a couple of weeks back.  While I was unable to identify why my first attempt was failing I was able to produce a functioning implementation on the second attempt.</div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">I posted my problem (and later a working solution) over here. </span><span style="font-size: 12pt;">[1]</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Another gotcha to be aware of is that any python errors that occur in the other thread will be displayed in the Message Log, I find it useful to have this as a floating window during development.</span></div><div><br></div><div>[1] <a href="http://gis.stackexchange.com/questions/45514/how-do-i-maintain-a-resposive-gui-using-qthread-with-pyqgis" style="font-size: 12pt;">http://gis.stackexchange.com/questions/45514/how-do-i-maintain-a-resposive-gui-using-qthread-with-pyqgis</a></div><div><br></div>Good Luck,<div>Kelly Thomas</div><div><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 22 Jan 2013 10:33:16 +0100<br>> From: kaotika@gmx.de<br>> Hello,<br><span style="font-size: 12pt;">> I try to write a plugin in python. The plugin will be part of a complex plugin and will make a longer running numpy</span></div><div>> calculation. I want the GUI to be responsive during the calculation. As a basis I used Aaron </div><div>> Racicots(http://svn.reprojected.com/qgisplugins/trunk/threading_demo/) threading example and modified the run code (the </div><div>> calculation is only an example). Unfortunately it does not what I want it to do...it hangs during calculation. Did I missed a </div><div>>thing?<br><br></div></div>                                       </div></body>
</html>