Sorry I CC'd to the wrong list.
---------- Forwarded message ---------- From: Goyo <[email protected]> Date: 2012/5/29 Subject: Re: [Qgis-user] Can't find Atlas Plugin through Python To: Harish <[email protected]>, [email protected] Hello Harish, 2012/5/23 Harish <[email protected]>: > I tried it and plugin comes in manage plugin section, but when I activate > it, following Python error message appears. I use Windows XP operating > system. > > { > > Couldn't load plugin atlas due an error when calling its classFactory() > method > > Traceback (most recent call last): > File "C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python\qgis\utils.py", > line 138, in startPlugin > plugins[packageName] = package.classFactory(iface) > File "C:/PROGRA~1/Quantum GIS > Wroclaw/apps/qgis/./python/plugins\atlas\__init__.py", line 35, in > classFactory > return atlas(iface) > File "C:/PROGRA~1/Quantum GIS > Wroclaw/apps/qgis/./python/plugins\atlas\atlas.py", line 50, in __init__ > if QFileInfo(localePath).exists(): > UnboundLocalError: local variable 'localePath' referenced before assignment The plugin should be in your home directory. Is must be something like "c:\documents and settings\<your_user_name>". Look there for the .qgis directory, then python, etc. and move the plugin there. That said I think the plugin should work also in its current location, if I'm not wrong then there's a bug in the plugin. Goyo > > Python version: > 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] > > > QGIS version: > 1.7.4-Wroclaw Wroclaw, 411aff6 > > Python path: ['C:\\Documents and > Settings\\Administrator\\.qgis\\python\\plugins\\GeoCoding', 'C:\\Documents > and Settings\\Administrator\\.qgis\\python\\plugins\\GeoCoding', > 'C:\\Documents and > Settings\\Administrator\\.qgis\\python\\plugins\\elevation', > 'C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python', 'C:/Documents and > Settings/Administrator/.qgis/python', 'C:/Documents and > Settings/Administrator/.qgis/python/plugins', 'C:/PROGRA~1/Quantum GIS > Wroclaw/apps/qgis/./python/plugins', 'C:\\WINDOWS\\system32\\python27.zip', > 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\DLLs', > 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib', > 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\plat-win', > 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\lib-tk', > 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\bin', 'C:\\PROGRA~1\\Quantum > GIS Wroclaw\\apps\\Python27', 'C:\\PROGRA~1\\Quantum GIS > Wroclaw\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\Quantum GIS > Wroclaw\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\Quantum > GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32', > 'C:\\PROGRA~1\\Quantum GIS > Wroclaw\\apps\\Python27\\lib\\site-packages\\win32\\lib', > 'C:\\PROGRA~1\\Quantum GIS > Wroclaw\\apps\\Python27\\lib\\site-packages\\Pythonwin', > 'C:\\PROGRA~1\\Quantum GIS > Wroclaw\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', > '~/.qgis/python', 'C:\\Documents and > Settings\\Administrator\\.qgis\\python\\plugins\\fTools\\tools', > 'C:\\Documents and > Settings\\Administrator\\.qgis\\python\\plugins\\openlayersov\\logic', > 'C:\\Documents and > Settings\\Administrator\\.qgis\\python\\plugins\\openlayersov\\gui'] > } > > The similar message appears when I start QGIS 1.7.4 on my system. > > _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
