QGIS – Solving Problems with Saga Integration in QGIS 2.14.4 LTR

qgis-processingsaga

Input parametersI've installed QGIS 2.14.4 LTR (32 bit) on my WIN7 64bit system.
But I believe something is wrong with the "Processing" plugin as many of the features were missing from what I've used earlier.
My QGIS window didn't have any Simple/Advance interface option for switching between various providers in the processing toolbox.

Also the option for setting path was not seen in processing>>Options>>Providers>>SAGA
The toolbox showed 235 SAGA Algorithms(with options such as "Grid Tools" still missing) but running them resulted in following error msg

 *****************************************************************
 Uncaught error while executing algorithm
        Traceback (most recent call last):
          File "C:/PROGRA~2/QGIS21~1.4/apps/qgis-ltr/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
            self.processAlgorithm(progress)
          File "C:/PROGRA~2/QGIS21~1.4/apps/qgis-ltr/./python/plugins\processing\algs\saga\SagaAlgorithm212.py", line 134, in processAlgorithm
            filename = dataobjects.exportVectorLayer(layer)
          File "C:/PROGRA~2/QGIS21~1.4/apps/qgis-ltr/./python/plugins\processing\tools\dataobjects.py", line 321, in exportVectorLayer
            if not os.path.splitext()[2] in supported or not isASCII:
        TypeError: splitext() takes exactly 1 argument (0 given)

The issues are presented/highlighted in the attached image.

I've tried the OSGEO Network installer as well as the standalone installer. I've uninstalled qgis several times and subsequently cleaned the registry and recycled the system (deleted the .qgis2 folder) for the next installation. But the result is the same.

QGIS window with processing options hihglighted

Error while running SAGA algorithms

Best Answer

I have tested your workcase, and I get the same error with QGIS 2.14.4 32bit and 64bit.

However, it works on QGIS 2.16.0 64bit on the same computer, and 2.14.1 on another.

So maybe you can upgrade to QGIS 2.16. Standalone Windows versions can run in parallel. You might return to 2.14.4 after running SAGA if you prefer.

See https://issues.qgis.org/issues/15320 for progress on the bugfix.


UPDATE

the issue should be fixed by now, but it may take some time to get into the downloadable binaries.

Related Question