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

SAGA version validation in Master #24548

Closed
qgib opened this issue May 31, 2017 · 3 comments
Closed

SAGA version validation in Master #24548

qgib opened this issue May 31, 2017 · 3 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented May 31, 2017

Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 16648
Affected QGIS version: master
Redmine category:processing/saga
Assignee: Victor Olaya


It seems that there is a validation in QGIS master (OSGeo4W) that is preventing SAGA LTR to start, when SAGA 2.1.2 is also installed.

So, when SAGA 2.1.2 and 2.3.2 are both installed with OSGeo4W, SAGA does not show up in processing, and log messages says:

Problem with SAGA installation: unsupported SAGA version found.

I think this is related to line 71 of SagaUtils.py

folders.append(os.path.join(os.path.dirname(QgsApplication.prefixPath()), 'saga'))

If SAGA 2.1.2 is installed, it uses it's path, and SAGA does not load, because is blocked by the validation of the line 87 of SagaAlgorithmProvider.py

if not version.startswith('2.3.'):

If SAGA 2.1.2 is not installed, then SAGA loads ok.

Anyway, it only loads SAGA Split RGB bands algorithm.


Related issue(s): #24330 (relates)
Redmine related issue(s): 16421


@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2017

Author Name: Giovanni Manghi (@gioman)


related to #24330

@qgib
Copy link
Contributor Author

qgib commented Jun 2, 2017

Author Name: Alexander Bruy (@alexbruy)


Applied in changeset 74984b2.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Jun 2, 2017
@qgib
Copy link
Contributor Author

qgib commented Jul 11, 2017

Author Name: Jürgen Fischer (@jef-n)


@qgib qgib added 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 labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant