<br>latest revision is 0.189. please update the plugin and have fun.<br><div><br><div class="gmail_quote">On Thu, May 27, 2010 at 1:20 PM, Giovanni Manghi <span dir="ltr">&lt;<a href="mailto:giovanni.manghi@gmail.com">giovanni.manghi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Volkan, list<br>
<div class="im"><br>
<br>
On Wed, 2010-05-26 at 17:10 +0300, Volkan Kepoglu wrote:<br>
&gt; could not succeed to run sda4pp in win7, because qgis1.4.0 could not<br>
&gt; import pywin<br>
<br>
<br>
</div>it seems to work under win7 with qgis trunk/osgeo4w.<br>
<br>
<br>
<br></blockquote><div><br></div><div>I&#39;ll try with osgeo4w.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
I&#39;m also seeing a number of problems, they may (or not) be related to<br>
the ones reported by Paolo today. I just upgraded to the latest version<br>
of sda4pp.<br>
<br>
<br></blockquote><div><br></div><div>the errors reported by Paolo are fixed, i think.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

*) on both linux and windows if there are no point layers in the project<br>
and you open a tool, when you click on the &quot;close&quot; button you get always<br>
a message like<br>
<div class="im"><br>
<br>
Traceback (most recent call last):<br>
</div>  File &quot;C:\Users\gio/.qgis/python/plugins\SDA4PP\intensity.py&quot;, line 63,<br>
in runClose<br>
    sda4ppRoptions.closeRplot(self.R)<br>
AttributeError: &#39;IntensityTool&#39; object has no attribute &#39;R&#39;<br>
<br>
<br>
this seems to not happen with the &quot;kriging&quot; tool<br>
<br>
<br>
<br></blockquote><div><br></div><div>this is fixed with rev. 189.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
*) under linux (ubuntu 10.04) the tools keeps telling<br>
<br>
&quot;the plugin does not support unicode characters, Please...&quot;<br>
<br>
even when there are no unicode chars, I used for instance your sample<br>
dataset.<br>
<br>
<br></blockquote><div><br></div><div>I could not replicate this error.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
<br>
*) under ubuntu 9.04 all the tools return<br>
<div class="im"><br>
<br>
Traceback (most recent call last):<br>
</div>  File &quot;/home/gio/.qgis/python/plugins/SDA4PP/sda4pp.py&quot;, line 270, in<br>
doAdaptiveTool<br>
    d = adaptive.AdaptiveTool(self.iface)<br>
  File &quot;/home/gio/.qgis/python/plugins/SDA4PP/adaptive.py&quot;, line 42, in<br>
__init__<br>
    self.setupUi(self)<br>
  File &quot;/home/gio/.qgis/python/plugins/SDA4PP/ui_adaptive.py&quot;, line 37,<br>
in setupUi<br>
    self.spinBoxF.setProperty(&quot;value&quot;, 0.1)<br>
TypeError: argument 2 of QObject.setProperty() has an invalid type<br>
<br>
<br></blockquote><div><br></div><div>I think it is a bug or not setting proper backward compatibility in the pyqt. I am using the designer to form all GUIs.</div><div><br></div><div>I upgraded the pyqt from 4.4.3-1 to 4.7.3-1 in windows xp. This error may be related with this upgrade.</div>
<div><br></div><div>In the pyqt 4.4.3.1, it is; self.spinBoxF.setProperty(&quot;value&quot;, QtCore.QVariant(0.1))</div><div><br></div><div>where as in 4.7.3-1, it is; self.spinBoxF.setProperty(&quot;value&quot;, 0.1).</div>
<div><br></div><div><br></div><div>QtCore.QVariant() is added so the error should be fixed. </div><div><br></div><div>the similar code is also added in the ui_graphics.py, where for example  in line 106, it is: self.dSpinBoxHeight.setProperty(&quot;value&quot;, 600.0)</div>
<div><br></div><div>by the way I tested these guis with and without adding QtCore.QVariant() in ubuntu 9.10 (4.6-1) and 10.04(4.7.2-0ubuntu1), and all is working. so this is only valid for ubuntu 9.04</div><div><br></div>
<div>I do not have ubuntu 9.04. last week upgraded to 9.10 and I do not want to install it again. so do you confirm that these errors are fixed when QtCore.QVariant() is added.</div><div><br></div><div>if you confirmed this solution, we should report this issue to pyqt community, shouldn&#39;t we?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
cheers!<br>
<font color="#888888"><br>
<br>
-- Giovanni --<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Volkan Osman Kepoglu<br>PhD Candidate<br>GGIT Department in METU,<br>http:/<a href="http://ggit.metu.edu.tr">ggit.metu.edu.tr</a><br>
</div>