create own plugin

المشرف العام

Administrator
طاقم الإدارة
With the plugin 'plugin builder' i create a new plugin.

Then i followed the steps described on this website : http://www.qgistutorials.com/en/docs/building_a_python_plugin.html

It works perfect untill step 18

But when i pass the code of step 19 i receive the following error:But i didn't change anything in the 'gui' part...

an deze plugin niet laden hond wegens een fout bij het aanroepen van de methode initGui()

AttributeError: hond instance has no attribute 'run' Traceback (most recent call last): File "C:/PROGRA~1/QGISLY~1/apps/qgis/./python\qgis\utils.py", line 315, in startPlugin plugins[packageName].initGui() File "C:/Users/niels/.qgis2/python/plugins\hond\hond.py", line 167, in initGui callback=self.run,AttributeError: hond instance has no attribute 'run'



أكثر...
 
أعلى