[Qgis-user] Plugin Builder Broken?

Robin Cura robin.cura at gmail.com
Sun Jul 29 09:35:01 PDT 2012


When you create a new plugin, there's a window telling you what to do.
Won't work if you don't read it and do what's explained :

[image: Images intégrées 1]

2012/7/29 Brent Graham <brentgraham40 at hotmail.com>

>  I built a dummy plugin and haven't done anything to the code but try to
> load it and I get this error
> Couldn't load plugin rfei due an error when calling its classFactory()
> method
>
> Traceback (most recent call last):
>   File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py",
> line 164, in startPlugin
>     plugins[packageName] = package.classFactory(iface)
>   File "C:/Users/Brizer/.qgis//python/plugins\rfei\__init__.py", line 35,
> in classFactory
>     from rfei import rfei
>   File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py",
> line 309, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/Brizer/.qgis//python/plugins\rfei\rfei.py", line 27, in
>     import resources_rc
>   File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py",
> line 309, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named resources_rc
>
> Python version:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
> using windows 7
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>


-- 
Robin Cura
Ingénieur d'Étude à l'UMR Géographie-cités
robin.cura at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120729/6f101f05/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 60413 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120729/6f101f05/attachment.png>


More information about the Qgis-user mailing list