<br><br><div class="gmail_quote">On Fri, May 28, 2010 at 12:26 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,<br>
<div class="im"><br>
<br>
&gt; latest revision is 0.189. please update the plugin and have fun.<br>
<br>
<br>
<br>
</div>thanks!<br>
<div class="im"><br>
<br>
<br></div></blockquote><div><br></div><div>you are welcome. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<br>
<br>
&gt;         *) under linux (ubuntu 10.04) the tools keeps telling<br>
&gt;<br>
&gt;         &quot;the plugin does not support unicode characters, Please...&quot;<br>
&gt;<br>
&gt;         even when there are no unicode chars, I used for instance your<br>
&gt;         sample<br>
&gt;         dataset.<br>
<br>
<br>
&gt; I could not replicate this error.<br>
<br>
<br>
<br>
<br>
<br>
</div>I tested again on another 10.04 machine and I didn&#39;t had problems. But<br>
the machine where it gives this error has Ubuntu localized in PT_PT<br>
instead of EN. Could this be related considering that is seems to be a<br>
problem with encoding? Do you want me to do further tests?<br>
<div class="im"><br>
<br></div></blockquote><div><br></div><div>No needed.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<br>
<br>
<br>
&gt; I think it is a bug or not setting proper backward compatibility in<br>
&gt; the pyqt. I am using the designer to form all GUIs.<br>
&gt; I upgraded the pyqt from 4.4.3-1 to 4.7.3-1 in windows xp. This error<br>
&gt; may be related with this upgrade.<br>
&gt; In the pyqt 4.4.3.1, it is; self.spinBoxF.setProperty(&quot;value&quot;,<br>
&gt; QtCore.QVariant(0.1))<br>
&gt; where as in 4.7.3-1, it is; self.spinBoxF.setProperty(&quot;value&quot;, 0.1).<br>
&gt; QtCore.QVariant() is added so the error should be fixed.<br>
&gt; the similar code is also added in the ui_graphics.py, where for<br>
&gt; example  in line 106, it is: self.dSpinBoxHeight.setProperty(&quot;value&quot;,<br>
&gt; 600.0)<br>
&gt;<br>
&gt; by the way I tested these guis with and without<br>
&gt; adding QtCore.QVariant() in ubuntu 9.10 (4.6-1) and<br>
&gt; 10.04(4.7.2-0ubuntu1), and all is working. so this is only valid for<br>
&gt; ubuntu 9.04<br>
&gt; I do not have ubuntu 9.04. last week upgraded to 9.10 and I do not<br>
&gt; want to install it again. so do you confirm that these errors are<br>
&gt; fixed when QtCore.QVariant() is added.<br>
&gt; if you confirmed this solution, we should report this issue to pyqt<br>
&gt; community, shouldn&#39;t we?<br>
<br>
<br>
<br>
</div>it gives another error now (see below), but if want to drop 9.04 support<br>
no problem, I&#39;m dropping too 9.04 this weekend :)<br>
<br>
<br></blockquote><div><br></div><div>this plugin drops to support 9.04. </div><div><br></div><div>plugin is revised due;</div><div><br></div><div>to reverse the changes in the GUI,</div><div>to log the version of pyqt and rpy2 </div>
<div>and a small note in the log file, if pyqt is smaller than 4.4.3</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>
cheers<br>
<br>
<br>
-- Giovanni --<br>
<div class="im"><br>
<br>
<br>
Traceback (most recent call last):<br>
  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>
</div>  File &quot;/home/gio/.qgis/python/plugins/SDA4PP/ui_adaptive.py&quot;, line 143,<br>
in setupUi<br>
    self.progressBar.setProperty(&quot;value&quot;, 0)<br>
<div><div></div><div class="h5">TypeError: argument 2 of QObject.setProperty() has an invalid type<br>
<br>
<br>
<br>
</div></div></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>