<div dir="ltr"><div dir="ltr">Hi Matteo, <div><br></div><div>I've added a few validations for this plugin to gently inform users of missing dependencies:</div><div><br></div><div><a href="https://github.com/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py">https://github.com/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py</a><br></div><div><br></div><div>Hope that helps.</div><div><br></div><div>Regards, </div><div><br></div><div>Germán</div></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 28 dic 2022 a las 9:58, matteo via QGIS-Developer (<<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi devs,<br>
<br>
I'm developing a Processing provider plugin that needs some external <br>
python packages. If these are not installed on the system, when starting <br>
QGIS and loading the plugin the error message pops up (of course).<br>
<br>
Is there a way to have a "more friendly" message without opening the <br>
Stacktrace? For example creating a messagebox/bar with the message <br>
"Install the package...... else you cannot use the plugin"<br>
<br>
I've added a simple try/except in the plugin classFactory method but I'm <br>
still stuck in the loop somewhere.<br>
<br>
Thanks for any suggestion<br>
<br>
Cheers<br>
<br>
Matteo<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>-----------<br></div><div>   |\__  <br>(:>__)(<br>   |/    <br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br><a href="http://twitter.com/GeoTux2" target="_blank">https://twitter.com/GeoTux2</a></div><div><br></div><div><div><a href="http://gis.stackexchange.com/users/4972/germ%c3%a1n-carrillo" target="_blank"><img src="http://gis.stackexchange.com/users/flair/4972.png"></a></div></div></div></div></div></div></div></div>