<div class="gmail_quote">On Mon, Mar 21, 2011 at 2:37 PM, Carson Farmer <span dir="ltr">&lt;<a href="mailto:carson.farmer@gmail.com">carson.farmer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

This seems like a decent suggestion (frankly, it shouldn&#39;t be necessary!)</blockquote><div>The .ui files are compiled by users, so if someone has a bad pyuic4 the output may <br>be wrong.<br><br>Users could fix that by opening the _ui.py generated file and changing e.g.<br>

<br><span style="font-family: courier new,monospace;">self.jpegQualitySpin.setProperty(&quot;value&quot;, 80)</span><br>to<br><span style="font-family: courier new,monospace;">self.jpegQualitySpin.setProperty(&quot;value&quot;, QVariant(80))</span><br>

<br>but if you remove the faulty line from the .ui file it&#39;ll work for all users.<br><br>Cheers.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><br><font color="#888888">C</font><div><div></div><div class="h5"><br><div><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 10:35 AM, Giuseppe Sucameli <span dir="ltr">&lt;<a href="mailto:sucameli@faunalia.it" target="_blank">sucameli@faunalia.it</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Carson, <br><br><div class="gmail_quote"><div>On Thu, Mar 17, 2011 at 10:50 AM, Carson Farmer <span dir="ltr">&lt;<a href="mailto:carson.farmer@gmail.com" target="_blank">carson.farmer@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

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.</blockquote>




</div><div>for more compatibility,  remove the progressBar value from the .ui and set it by code.<br>This should be fix it. <br><br>Have a look ad GdalTools Grid, but also other tools, <br>progressBars and spinBoxes&#39; default value is set by code in the constructor.<br>




<br>Cheers.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div><div><div><div><div class="gmail_quote">
On Thu, Mar 17, 2011 at 8:34 AM, Micha Silver <span dir="ltr">&lt;<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
  
  <div style="direction: ltr;" text="#000000" bgcolor="#ffffff">
    <p style="margin-bottom: 0cm; margin-top: 0pt;">Hello Carson</p><div>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">On 16/03/2011 17:24,
      Carson Farmer wrote:</p>
    <blockquote type="cite">
      <pre>Hi Micha,

</pre>
      <blockquote type="cite">
        <pre>Traceback (most recent call last):
  File &quot;/home/micha/.qgis/python/plugins/fTools/fTools.py&quot;, line 387, in
docompGeo
    d = doGeometry.GeometryDialog( self.iface, 5 )
  File &quot;/home/micha/.qgis/python/plugins/fTools/tools/doGeometry.py&quot;, line
17, in __init__
    self.setupUi(self)
  File &quot;/home/micha/.qgis/python/plugins/fTools/tools/ui_frmGeometry.py&quot;,
line 73, in setupUi
    self.progressBar.setProperty(&quot;value&quot;, 0)
TypeError: argument 2 of QObject.setProperty() has an invalid type
</pre>
      </blockquote>
      <pre>This is actually an error from the (auto) generated ui file. Have you
recently updated your Qt/PyQt version?

</pre>
    </blockquote>
    <br></div>
    No. This particular machine get&#39;s all updates from the
    <a href="http://debian.gfoss.it" target="_blank">debian.gfoss.it</a> repo.  I checked thru the apt logs and nothing
    there.<br>
    <br>
     <br>
    <blockquote type="cite">
      <pre>Carson

</pre>
    </blockquote>
    <br>
    <br>
    <div>-- <br>
      
      <div>
        
        
        <p style="margin-bottom: 0cm; margin-top: 0pt; float: right;"><img alt="Hevra Logo" src="cid:part1.06050600.02040102@arava.co.il" width="135" border="0" height="59"></p>
        <p style="margin-bottom: 0cm; margin-top: 0pt; direction: ltr;">Micha


          Silver</p>
        <p style="margin-bottom: 0cm; margin-top: 0pt; direction: ltr;">Arava


          Development Co</p>
        <p style="margin-bottom: 0cm; margin-top: 0pt; direction: ltr;">052-3666918</p>
        <p style="margin-bottom: 0cm; margin-top: 0pt; direction: ltr;"><a href="http://www.surfaces.co.il" target="_blank">http://www.surfaces.co.il</a></p>
      </div>
    </div>
  </div>

</blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Carson J. Q. Farmer<br>ISSP Doctoral Fellow<br>National Centre for Geocomputation<br>National University of Ireland, Maynooth,<br><a href="http://www.carsonfarmer.com/" target="_blank">http://www.carsonfarmer.com/</a><br>






</div></div>
<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Giuseppe Sucameli<br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Carson J. Q. Farmer<br>ISSP Doctoral Fellow<br>National Centre for Geocomputation<br>National University of Ireland, Maynooth,<br><a href="http://www.carsonfarmer.com/" target="_blank">http://www.carsonfarmer.com/</a><br>



</div></div></div></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br><br>