When you create a new plugin, there's a window telling you what to do.<br>Won't work if you don't read it and do what's explained :<br><br><img alt="Images intégrées 1" src="cid:ii_138d396ed4aa3297"><br><br>

<div class="gmail_quote">2012/7/29 Brent Graham <span dir="ltr"><<a href="mailto:brentgraham40@hotmail.com" target="_blank">brentgraham40@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
<span style="color:#ff0000">I built a dummy plugin and haven't done anything to the code but try to load it and I get this error<br>Couldn't load plugin rfei due an error when calling its classFactory() method</span><br>

<br>Traceback (most recent call last):<br>  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 164, in startPlugin<br>    plugins[packageName] = package.classFactory(iface)<br>  File "C:/Users/Brizer/.qgis//python/plugins\rfei\__init__.py", line 35, in classFactory<br>

    from rfei import rfei<br>  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import<br>    mod = _builtin_import(name, globals, locals, fromlist, level)<br>  File "C:/Users/Brizer/.qgis//python/plugins\rfei\rfei.py", line 27, in <br>

    import resources_rc<br>  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import<br>    mod = _builtin_import(name, globals, locals, fromlist, level)<br>ImportError: No module named resources_rc<br>

<br>Python version:<br>2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]<br><br>using windows 7<br>                                        </div></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({'rating':{'value':100,'weight':13},'flags':{},'single':true,'ttl':7200,'expireTime':'20120729042039'}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>


<br></blockquote></div><br><br clear="all"><br>-- <br>Robin Cura<br>Ingénieur d'Étude à l'UMR Géographie-cités<br><a href="mailto:robin.cura@gmail.com" target="_blank">robin.cura@gmail.com</a><br>