[Qgis-user] Error with the latest Gdaltools

Agustin Lobo alobolistas at gmail.com
Mon Jan 11 10:23:12 PST 2010


Hi!

Just installed the new version of gdal tools and now I get
the following message at starting qgis 1.4.0 (ubuntu 9.04)

Couldn't load plugin GdalTools due an error when calling its classFactory() method

Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 141, in startPlugin
     plugins[packageName] = package.classFactory(iface)
   File "/home/alobo/.qgis//python/plugins/GdalTools/__init__.py", line 31, in 
classFactory
     return GdalTools(iface)
   File "/home/alobo/.qgis//python/plugins/GdalTools/GdalTools.py", line 49, in 
__init__
     localeFullName = QSettings().value( "locale/userLocale", "en_US" ).toString()
TypeError: argument 2 of QSettings.value() has an invalid type

All previous versions worked fine,  also with qgis 1.4.0

Thanks

Agus



More information about the Qgis-user mailing list