<br><br><div class="gmail_quote">On Fri, May 28, 2010 at 12:26 PM, Giovanni Manghi <span dir="ltr"><<a href="mailto:giovanni.manghi@gmail.com">giovanni.manghi@gmail.com</a>></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>
> 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>
> *) under linux (ubuntu 10.04) the tools keeps telling<br>
><br>
> "the plugin does not support unicode characters, Please..."<br>
><br>
> even when there are no unicode chars, I used for instance your<br>
> sample<br>
> dataset.<br>
<br>
<br>
> I could not replicate this error.<br>
<br>
<br>
<br>
<br>
<br>
</div>I tested again on another 10.04 machine and I didn'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>
> I think it is a bug or not setting proper backward compatibility in<br>
> the pyqt. I am using the designer to form all GUIs.<br>
> I upgraded the pyqt from 4.4.3-1 to 4.7.3-1 in windows xp. This error<br>
> may be related with this upgrade.<br>
> In the pyqt 4.4.3.1, it is; self.spinBoxF.setProperty("value",<br>
> QtCore.QVariant(0.1))<br>
> where as in 4.7.3-1, it is; self.spinBoxF.setProperty("value", 0.1).<br>
> QtCore.QVariant() is added so the error should be fixed.<br>
> the similar code is also added in the ui_graphics.py, where for<br>
> example in line 106, it is: self.dSpinBoxHeight.setProperty("value",<br>
> 600.0)<br>
><br>
> by the way I tested these guis with and without<br>
> adding QtCore.QVariant() in ubuntu 9.10 (4.6-1) and<br>
> 10.04(4.7.2-0ubuntu1), and all is working. so this is only valid for<br>
> ubuntu 9.04<br>
> I do not have ubuntu 9.04. last week upgraded to 9.10 and I do not<br>
> want to install it again. so do you confirm that these errors are<br>
> fixed when QtCore.QVariant() is added.<br>
> if you confirmed this solution, we should report this issue to pyqt<br>
> community, shouldn'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'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 "/home/gio/.qgis/python/plugins/SDA4PP/sda4pp.py", line 270, in<br>
doAdaptiveTool<br>
d = adaptive.AdaptiveTool(self.iface)<br>
File "/home/gio/.qgis/python/plugins/SDA4PP/adaptive.py", line 42, in<br>
__init__<br>
self.setupUi(self)<br>
</div> File "/home/gio/.qgis/python/plugins/SDA4PP/ui_adaptive.py", line 143,<br>
in setupUi<br>
self.progressBar.setProperty("value", 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>