[Qgis-user] Ubuntu 8.04, Qgis 1.0.0 preview & fTools issue

Brian Bishop brian at sopac.org
Wed Oct 22 17:11:50 PDT 2008


Received an update of Qgis 1.0.0 preview this morning from Jef's
repository.
http://ppa.launchpad.net/jef-norbit/ubuntu

fTools had been working before the update, but failed to load after with
this error:

        Couldn't load plugin fTools due an error when calling its
        classFactory() method
        
        Traceback (most recent call last):
          File "", line 1, in 
          File "/home/brian/.qgis//python/plugins/fTools/__init__.py",
        line 29, in classFactory
            return fToolsPlugin(iface)
          File "/home/brian/.qgis//python/plugins/fTools/fTools.py",
        line 52, in __init__
            self.QgisVersion = unicode(QGis.qgisVersion)
        AttributeError: qgisVersion


Not sure if this is Carson's or Jeff's issue to resolve.

A simple workaround got fTools working again:
ftools.py
changed line 52 from - self.QgisVersion = unicode(QGis.qgisVersion)
to this - self.QgisVersion = '1' 

Cheers
Brian
-- 
Brian Bishop <brian at sopac.org>
SOPAC Secretariat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20081023/f19e4088/attachment.html>


More information about the Qgis-user mailing list