Skip to content
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

Processing: fix crash in alg runner task with bad scripts #9193

Merged
merged 5 commits into from Feb 20, 2019

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Feb 18, 2019

Fixes #21270

With test

@elpaso
Copy link
Contributor Author

elpaso commented Feb 18, 2019

Not crashing locally, wierd.

@elpaso
Copy link
Contributor Author

elpaso commented Feb 19, 2019

@nyalldawson giving up here, I've tried another approach (that like the original one does not crash locally) but it's still crashing on Travis, is there anything on Travis that catches the Python exception and interferes with the execution of the test?

Exposes the full Python exception when an error occurs in createInstance()
@nyalldawson
Copy link
Collaborator

979adbb seems to fix it, plus gives better debugging messages

@elpaso elpaso merged commit ff9a65c into qgis:master Feb 20, 2019
@elpaso elpaso deleted the bugfix-21270-processing-algrunner-crash branch February 20, 2019 06:43
@elpaso
Copy link
Contributor Author

elpaso commented Feb 20, 2019

@nyalldawson thanks!

elpaso added a commit to elpaso/QGIS that referenced this pull request Feb 20, 2019
…unner-crash

Processing: fix crash in alg runner task with bad scripts

Cherry-picked from master commit ff9a65c
@elpaso elpaso mentioned this pull request Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants