-
-
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
Regression: trying to run the multipart to singleparts algorithm throws a python error #45331
Comments
@manisandro , could this be a fallout from your recent SIP changes? It had to regress within the last month or so, I've used these algorithms not long ago. |
With which sip version are you building? |
sip5-tools, hirsute (21.04) (devel), 5.5.0+dfsg-3 |
Though the error message is actually accurate, |
It works fine on 77be95f with sip 4.19.25+dfsg-1 |
As I see it, the method should either be made public, or the C++ class wrapped in a Python class which exposes the C++ protected method |
PR #45331 |
So replacing all occurences of protected: / protected slot: in the *.sip files fixes this. One can either do so in |
That sounds good to me! @3nids do you agree? |
yes, this sounds reasonable. see #45348 |
I don't really know about the internals of |
I don't know if it's related or can help, but
|
From my tests, this just adds |
3fb0f66 (followup qgis#45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes qgis#45331 too
reverting 3fb0f66 (followup qgis#45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes qgis#45331 too
What is the bug or the crash?
Trying to execute the multipart to singleparts algorithm fails on QGIS master. This regression has to have occured in this dev. cycle.
Steps to reproduce the issue
Stacktrace:
Versions
QGIS master
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: