Processing algorithms silently fail to load when psycopg2 is missing #41984
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
So this thread on the mailing list raised what I think is the same issue I encountered some time ago when setting up a new computer. All algorithms except native QGIS ones were silently failing to load. I was able to do the following to understand what was going on:
I think these 'with' profiling clauses in Processing.py:
Hide the python exception that gets raised if a dependency is missing....
Installing python-psycopg2 fixed the problem. Perhaps we can trap this error some how and surface it since it blocks lags from loading that do not even need psycopg2.
CC @nyalldawson to capture our off list thread somewhere more accessible
The text was updated successfully, but these errors were encountered: