if EnMAP-Box tries to load a buggy processing algorithm, the error is not correctly catched
Comments (7)
-
-
In that case we would not deliver this as python plugin at all, as the master does not pass the CI tests, right?
-
reporter In your code you use Qgis.Warning, which throws an error.
-
It’s because
line 343: class Qgis(object)
overwrites
line 39: from qgis.core import Qgis
(for details Qgs.MessageLevel))
I think it is better if you to rename the `Qgis(object)` class instead of overwriting
qgis.core
classes that are imported into the QGIS python shell by default.As
Qgis(object)
does not return QGIS API, but hubdc objects, it could be a name likeEQI
(EnMAP-Box - QGIS Interface) orEQB
(EnMAP-Box-QGIS-Bridge) or better similar. -
reporter I see. Totally forgot about that Qgis class we introduced a while ago. Shall we just delete that again? I never really used it.
-
If it has no use it can be deleted
-
reporter - changed status to resolved
resolves
#612→ <<cset 0b73edcb8455>>
- Log in to comment
So what should be shown instead, how and where?