[Qgis-developer] qgis plugin error

nagellette necipenesgengec at gmail.com
Tue Apr 1 12:10:25 PDT 2014


Hi all, 

I am new to developing plugin. I did some work and it works well when I
remove and add thick to my plugin in plugin manager. (I guess it reloads it) 

But when starting qgis a get the below error and my plugin does not show up
in plugin menu. 

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

Traceback (most recent call last): 
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 204, in
startPlugin 
    plugins[packageName] = package.classFactory(iface) 
  File "/home/nagellette/.qgis2/python/plugins/RadialBand/__init__.py", line
26, in classFactory 
    from radialband import RadialBand 
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in
_import 
    mod = _builtin_import(name, globals, locals, fromlist, level) 
  File "/home/nagellette/.qgis2/python/plugins/RadialBand/radialband.py",
line 27, in 
    import resources_rc 
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in
_import 
    mod = _builtin_import(name, globals, locals, fromlist, level) 
ImportError: No module named resources_rc 

Python version: 
2.7.3 (default, Feb 27 2014, 20:09:21) 
[GCC 4.6.3] 


QGIS version: 
2.0.1-Dufour Dufour, exported 

Python path: ['/usr/share/qgis/python', '/home/nagellette/.qgis2/python',
'/home/nagellette/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/qgis-plugin-error-tp5132541.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list