[QGIS-Developer] First User Experience: During startup, try/except the Python exceptions (of plugins)

Richard Duivenvoorde rdmailings at duif.net
Mon Jul 18 01:27:02 PDT 2022


Hi, see for example:

https://github.com/flathub/org.qgis.qgis/issues/174

Would it be an idea to NOT show the python (plugin) exceptions during the startup of QGIS?

It find it for non tech users annoying that a plugin (which they sometimes do not use, anymore) is stopping QGIS from starting.
And yes: I know you can just close the (for non-techies very scary python backtrace window), but what about:

- during QGIS startup (plugin loading) instead of showing the exception, just 'disable' the plugin and leave a red message in the message bar?
- with maybe some instruction that they can get more (technical) info when the enable/disable the plugin, and THEN show the real exception window?

Would that be feasible/doable?

Regards,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list