[Qgis-developer] csw plugin error

Annina Hirschi Wyss annina.hirschi at gmx.net
Tue Dec 14 12:09:19 EST 2010


confirm the same error on OSX 1.6.5/Python 2.6.1

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

Traceback (most recent call last):
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 138, in startPlugin
    plugins[packageName] = package.classFactory(iface)
AttributeError: 'module' object has no attribute 'classFactory'


Cheers
Annina



On Dec 14, 2010, at 1:29 PM, Lenny Sorey wrote:

> I install the most recent cswclient plugin and got the same error.
> 
> Platform : Windows 7 32 bit
> 
> My error message in full from the install is below:
> 
> Couldn't load plugin cswclient due an error when calling its classFactory() method
> 
> Traceback (most recent call last):
>   File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 138, in startPlugin
>     plugins[packageName] = package.classFactory(iface)
> AttributeError: 'module' object has no attribute 'classFactory'
> 
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> 
> 
> QGIS version:
> 1.6.0-Capiapo Capiapo, exported
> 
> Python path: ['C:\\Users\\lsorey\\.qgis\\python\\plugins\\cswclient', 'C:\\Users\\mypath\\.qgis\\python\\plugins\\cswclient', 'C:/OSGeo4W/apps/qgis/./python', 'C:/Users/mypath/.qgis/python', 'C:/Users/mypath/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\OSGeo4W\\apps\\gdal-17\\pymod', 'C:\\', 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs', 'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win', 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\apps\\Python25', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools', '/usr/share/qgis/python/', '/usr/share/qgis/python/']
> 
> 
> Thanks,
> 
> Lenny
> 
> On Mon, Dec 13, 2010 at 12:31 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Impossibile caricare il plugin cswclient a causa di errore chiamando il metodo
> classFactory()
> 
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 138, in startPlugin
>    plugins[packageName] = package.classFactory(iface)
> AttributeError: 'module' object has no attribute 'classFactory'
> ===
> All the best.
> --
> Paolo Cavallini: http://www.faunalia.it/pc
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101214/518456f8/attachment.html


More information about the Qgis-developer mailing list