<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:9pt;font-family:Monospace">
<p>> fTools had been working before the update, but failed to load after with</p>
<p>> this error:</p>
<p>></p>
<p>>           File "/home/brian/.qgis//python/plugins/fTools/fTools.py",</p>
<p>>         line 52, in __init__</p>
<p>>             self.QgisVersion = unicode(QGis.qgisVersion)</p>
<p>>         AttributeError: qgisVersion</p>
<p>></p>
<p>></p>
<p>> Not sure if this is Carson's or Jeff's issue to resolve.</p>
<p>></p>
<p>> A simple workaround got fTools working again:</p>
<p>> ftools.py</p>
<p>> changed line 52 from - self.QgisVersion = unicode(QGis.qgisVersion)</p>
<p>> to this - self.QgisVersion = '1'</p>
<p></p>
<p>The 0.x API requires the form: QGis.qgisVersion</p>
<p>while the 1.x API requires the: QGis.QGIS_VERSION</p>
<p>So my solution is: </p>
<p></p>
<p>self.QgisVersion = '1'</p>
<p>try:</p>
<p>  if unicode(QGis.qgisVersion)[0] == '0': </p>
<p>    self.QgisVersion = '0'</p>
<p>except:</p>
<p>  pass</p>
<p></p>
</body></html>