Hi all, change is made in 0.7.1 for the contour plugin. Is it possible to hope to see a little change in the plugin system where plugins devs have the possibility to append a more general description, not only in a single line? In this way, maybe a simple text/html file in the plugin package where can be specified dependencies, special attentions, descriptions, ... will be displayed by the python plugin installer on a double click or other but before the installation... Cheers
2010/7/27 Giuseppe Sucameli <[email protected]>: > Hi devs, > I found some plugins which throw an error if there are unsatisfied > dependencies. > > ThanI investigate the problem and I found that the error is due to > the position of the "import" clause in the __init__.py file. > > To resolve it, the "import plugin_name" should be moved into the > classFactory function. > > Here an example: > > def classFactory(iface): > from plugin import Plugin > return Plugin(iface) > > I guess this could help to avoid the error installing plugins. > Would be useful if everyone checks his plugins. > > In this moment I found Contour and HomeRange_plugin, but could > be more than 2. > > Cheers. > > -- > Giuseppe Sucameli > -- Lionel Roubeyrie [email protected] http://youarealegend.blogspot.com _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
