[QGIS-Developer] Catch Python exceptions in QGIS console

Nyall Dawson nyall.dawson at gmail.com
Thu Jun 13 16:50:57 PDT 2019


On Fri, 14 Jun 2019 at 09:41, Jorge Gustavo Rocha <jgr at di.uminho.pt> wrote:
>
> Hi Nyall,
>
> This problem only happens in Windows. In Linux, everything is running fine.
>
> I was convinced that it was a Python exception, but for some reason, it
> was not caught.
>
> I will investigate this issue further. It makes me crazy!

Welcome to the wonderful world of Python bindings. When they work --
it's magic. When they don't -- get ready to kiss goodbye two weeks of
wasted time and half your remaining hair.

Nyall


More information about the QGIS-Developer mailing list