[Qgis-developer] Re: problems with SDA4PP plugin

Volkan Kepoglu vkepoglu at gmail.com
Fri May 28 06:23:18 EDT 2010


On Fri, May 28, 2010 at 12:26 PM, Giovanni Manghi <giovanni.manghi at gmail.com
> wrote:

> Hi Volkan,
>
>
> > latest revision is 0.189. please update the plugin and have fun.
>
>
>
> thanks!
>
>
>
>
you are welcome.


>
>
> >         *) under linux (ubuntu 10.04) the tools keeps telling
> >
> >         "the plugin does not support unicode characters, Please..."
> >
> >         even when there are no unicode chars, I used for instance your
> >         sample
> >         dataset.
>
>
> > I could not replicate this error.
>
>
>
>
>
> I tested again on another 10.04 machine and I didn't had problems. But
> the machine where it gives this error has Ubuntu localized in PT_PT
> instead of EN. Could this be related considering that is seems to be a
> problem with encoding? Do you want me to do further tests?
>
>
>
No needed.



>
>
>
> > I think it is a bug or not setting proper backward compatibility in
> > the pyqt. I am using the designer to form all GUIs.
> > 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.
> > In the pyqt 4.4.3.1, it is; self.spinBoxF.setProperty("value",
> > QtCore.QVariant(0.1))
> > where as in 4.7.3-1, it is; self.spinBoxF.setProperty("value", 0.1).
> > QtCore.QVariant() is added so the error should be fixed.
> > the similar code is also added in the ui_graphics.py, where for
> > example  in line 106, it is: self.dSpinBoxHeight.setProperty("value",
> > 600.0)
> >
> > 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
> > 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.
> > if you confirmed this solution, we should report this issue to pyqt
> > community, shouldn't we?
>
>
>
> it gives another error now (see below), but if want to drop 9.04 support
> no problem, I'm dropping too 9.04 this weekend :)
>
>
>
this plugin drops to support 9.04.

plugin is revised due;

to reverse the changes in the GUI,
to log the version of pyqt and rpy2
and a small note in the log file, if pyqt is smaller than 4.4.3



>
> cheers
>
>
> -- Giovanni --
>
>
>
> Traceback (most recent call last):
>  File "/home/gio/.qgis/python/plugins/SDA4PP/sda4pp.py", line 270, in
> doAdaptiveTool
>    d = adaptive.AdaptiveTool(self.iface)
>  File "/home/gio/.qgis/python/plugins/SDA4PP/adaptive.py", line 42, in
> __init__
>    self.setupUi(self)
>   File "/home/gio/.qgis/python/plugins/SDA4PP/ui_adaptive.py", line 143,
> in setupUi
>    self.progressBar.setProperty("value", 0)
> TypeError: argument 2 of QObject.setProperty() has an invalid type
>
>
>
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100528/589d7bfc/attachment.html


More information about the Qgis-developer mailing list