Hi devs,<br>I found some plugins which throw an error if there are unsatisfied <br>dependencies. <br><br>ThanI <span>investigate the problem and I found that the error is due to <br>the position of the "import" clause in the </span><span>__init__.py file</span>.<br>
<br>To resolve it, the "import plugin_name" should be moved into the <br>classFactory function.<br><br>Here an example:<br><br>def classFactory(iface):<br> from plugin import Plugin<br> return Plugin(iface)<br>
<br>I guess this could help to avoid the error installing plugins.<br>Would be useful if everyone checks his plugins.<br><br>In this moment I found Contour and HomeRange_plugin, but could <br>be more than 2.<br><br>Cheers.<br>
<br>-- <br>Giuseppe Sucameli<br>