You forgot to compile resource with pyrcc4. In the last version of plugin builder you don't need ui compiling. Please use make command in your plugin dir inside a osgeo4w shell<div><br></div><div>Regards Luigi Pirelli<br><br>On Thursday, 22 January 2015, Lester Anderson <<a href="mailto:arctica1963@gmail.com">arctica1963@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I was looking to start making useful plugins in Python, so tried a dummy test to make sure all was well - working with QGIS 2.6 32-bit on Windows 7. Got the following:<br><br>;Working with QGIS 2.6 32 bit Windows 7<br><br>Output from the QGIS Plugin builder:<br>:<br>22/01/2015  06:58    <DIR>          .<br>22/01/2015  06:58    <DIR>          ..<br>22/01/2015  06:57    <DIR>          help<br>21/01/2015  22:03    <DIR>          i18n<br>21/01/2015  22:03             1,034 icon.png<br>22/01/2015  06:57             7,229 Makefile<br>22/01/2015  06:57               811 metadata.txt<br>22/01/2015  06:57             2,642 pb_tool.cfg<br>21/01/2015  22:03             3,217 plugin_upload.py<br>21/01/2015  22:03             8,798 pylintrc<br>22/01/2015  06:57             2,019 README.html<br>22/01/2015  06:57               967 README.txt<br>22/01/2015  06:57               107 resources.qrc<br>21/01/2015  22:03    <DIR>          scripts<br>22/01/2015  06:57    <DIR>          test<br>22/01/2015  06:57             6,549 testbuilder.py<br>22/01/2015  06:58                 0 testbuilder.txt<br>22/01/2015  06:57             1,789 testbuilder_dialog.py<br>22/01/2015  06:57             1,493 testbuilder_dialog_base.ui<br>22/01/2015  06:57             1,486 __init__.py<br><br>From OSGeo4W command window on Windows 7 32 bit<br><br>C:\Test_QGIS_Plugin\TestBuilder>pyuic4 -o ui_testbuilder.py testbuilder_dialog_base.ui<br>C:\Test_QGIS_Plugin\TestBuilder>pyrcc4 -o resources.py resources.qrc<br><br>Loaded directory into: \.qgis2\python\plugins and started QGIS. Plugin listed but no icon, shows in the plugin list and sort of runs. Close QGIS and reopen the following error is generated:<br><br>Couldn't load plugin TestBuild due an error when calling its classFactory() method<br><br><br>Traceback (most recent call last):<br>  File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 208, in startPlugin<br>    plugins[packageName] = package.classFactory(iface)<br>  File "C:/Users/Lester/.qgis2/python/plugins\TestBuild\__init__.py", line 34, in classFactory<br>    from .testbuilder import TestBuild<br>  File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import<br>    mod = _builtin_import(name, globals, locals, fromlist, level)<br>  File "C:/Users/Lester/.qgis2/python/plugins\TestBuild\testbuilder.py", line 26, in <br>    import resources_rc<br>  File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import<br>    mod = _builtin_import(name, globals, locals, fromlist, level)<br>ImportError: No module named resources_rc<br><br><br>Python version:<br>2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]<br><br><br>QGIS version:<br>2.6.0-Brighton Brighton, exported<br><br>Python path: ['C:/PROGRA~2/QGISBR~1/apps/qgis/./python', u'C:/Users/Lester/.qgis2/python', u'C:/Users/Lester/.qgis2/python/plugins', 'C:/PROGRA~2/QGISBR~1/apps/qgis/./python/plugins', 'C:\\PROGRA~2\\QGISBR~1\\bin\\python27.zip', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\QGISBR~1\\bin', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\python_dateutil-2.2-py2.7.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\pytz-2014.2-py2.7.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg', 'C:\\PROGRA~2\\QGISBR~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']<br><br></div>Is there something I have missed here?<br><br></div>Thanks for any help<br><br></div>Lester<br></div>
</blockquote></div>