This seems like a decent suggestion (frankly, it shouldn't be necessary!), but no matter what I try/do, the generated ui_*.py file always has the 'value' property set for the progressBar. It doesn't appear to be an option...
$ pyuic4 --version Python User Interface Compiler 4.7.2 for Qt version 4.6.2 Any suggestions? C On Sat, Mar 19, 2011 at 10:35 AM, Giuseppe Sucameli <sucam...@faunalia.it>wrote: > Hi Carson, > > On Thu, Mar 17, 2011 at 10:50 AM, Carson Farmer > <carson.far...@gmail.com>wrote: > >> Hmm, ok, was this a self build? If yes, it might be worth rebuilding the >> included plugins. It looks like there is some issue with ui_frmGeometry.py, >> which is actually auto-generated from frm_Geometry.ui at build time. > > for more compatibility, remove the progressBar value from the .ui and set > it by code. > This should be fix it. > > Have a look ad GdalTools Grid, but also other tools, > progressBars and spinBoxes' default value is set by code in the > constructor. > > Cheers. > > On Thu, Mar 17, 2011 at 8:34 AM, Micha Silver <mi...@arava.co.il> wrote: >> >>> Hello Carson >>> >>> >>> On 16/03/2011 17:24, Carson Farmer wrote: >>> >>> Hi Micha, >>> >>> >>> Traceback (most recent call last): >>> File "/home/micha/.qgis/python/plugins/fTools/fTools.py", line 387, in >>> docompGeo >>> d = doGeometry.GeometryDialog( self.iface, 5 ) >>> File "/home/micha/.qgis/python/plugins/fTools/tools/doGeometry.py", line >>> 17, in __init__ >>> self.setupUi(self) >>> File "/home/micha/.qgis/python/plugins/fTools/tools/ui_frmGeometry.py", >>> line 73, in setupUi >>> self.progressBar.setProperty("value", 0) >>> TypeError: argument 2 of QObject.setProperty() has an invalid type >>> >>> This is actually an error from the (auto) generated ui file. Have you >>> recently updated your Qt/PyQt version? >>> >>> >>> >>> No. This particular machine get's all updates from the debian.gfoss.itrepo. >>> I checked thru the apt logs and nothing there. >>> >>> >>> >>> Carson >>> >>> >>> >>> >>> -- >>> >>> [image: Hevra Logo] >>> >>> Micha Silver >>> >>> Arava Development Co >>> >>> 052-3666918 >>> >>> http://www.surfaces.co.il >>> >> >> >> >> -- >> Carson J. Q. Farmer >> ISSP Doctoral Fellow >> National Centre for Geocomputation >> National University of Ireland, Maynooth, >> http://www.carsonfarmer.com/ >> >> _______________________________________________ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> > > > -- > Giuseppe Sucameli > > -- Carson J. Q. Farmer ISSP Doctoral Fellow National Centre for Geocomputation National University of Ireland, Maynooth, http://www.carsonfarmer.com/
<<logo_company.gif>>
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer