-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qgis_process list raises exception if processing algorithm provider is activated #38862
Comments
Hi @stibus81, it seems to me this is a regression. The issue was probably introduced inadvertently with PR #38312 and in particular with commit bacf779 I cannot test by myself, but I think you can workaround the issue, waiting for a proper fix, substituting menus.py in your docker container with this patched version https://raw.githubusercontent.com/agiudiceandrea/QGIS/a4d7cca428c50413437131452852433b6bb285cc/python/plugins/processing/gui/menus.py in which I've removed some reference to iface reverting the above commit. |
Hi @agiudiceandrea Thanks nevertheless for the workaround. I'll give it a try next week and let you know whether it helped. |
E.g. in qgis_process iface is None Fixes qgis#38862
E.g. in qgis_process iface is None Fixes #38862
This is not needed anymore. A proper fix 772181b was merged in master.
|
@agiudiceandrea @nyalldawson Thanks for the fix. It seems, it is not yet in the nightly build, so I copied menus.py from 772181b and this solved the problem for me. I'll try the nightly build again tomorrow. |
I tried with the current nightly build and the problem is solved. Thanks again! |
Set up:
Ubuntu 20.04 in docker (see Dockerfile below)
QGIS master from https://qgis.org/ubuntu-nightly, September 18th
When running
qgis_process list
, the following error appears:To reproduce, use the following docker container:
The error only occurs, when the last line is included. If not, there is no error, but the Python plugins are not listed.
The text was updated successfully, but these errors were encountered: