Closed griffij closed 8 years ago
@ismailsunni would you take a look at this and back port to master for a 3.4.3 bug fix release if it is something we can fix on our side?
(copied in @Gustry as he may ave more background knowledge about the processing side of the equation)
After deleting QGSI.app and
Problem
Fresh install of QGIS, InaSAFE on Mac OSX and any analysis I have tried to run gives an IOError, details below. @timlinux @ismailsunni @lucernae
In file "/Users/PCUser/.qgis2/python/plugins/inasafe/safe/impact_functions/base.py", line 678, in run_analysis self._prepare() In file "/Users/PCUser/.qgis2/python/plugins/inasafe/safe/impact_functions/base.py", line 812, in _prepare self._setup_aggregator() In file "/Users/PCUser/.qgis2/python/plugins/inasafe/safe/impact_functions/base.py", line 1328, in _setup_aggregator self._aggregator = Aggregator(buffered_geo_extent, qgis_layer) In file "/Users/PCUser/.qgis2/python/plugins/inasafe/safe/impact_statistics/aggregator.py", line 143, in __init__ self.processing.initialize() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize Processing.loadFromProviders() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 165, in loadFromProviders Processing.loadAlgorithms() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 200, in loadAlgorithms Processing.updateProviders() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 173, in updateProviders provider.loadAlgorithms() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/AlgorithmProvider.py", line 54, in loadAlgorithms self._loadAlgorithms() In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/otb/OTBAlgorithmProvider.py", line 61, in _loadAlgorithms version = OTBUtils.getInstalledVersion(True) In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/otb/OTBUtils.py", line 134, in getInstalledVersion out = executeOtb(commands, progress, False) In file "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/otb/OTBUtils.py", line 163, in executeOtb for line in iter(proc.readline, ""): IOError
If I go to Plugins -> manage plugins and uncheck, then re-check the Processing plugin then I get this error, which seems only to happen after InaSAFE is installed:
Expected Behaviour
Expecting normal InaSAFE analysis instead.
Environment
Proposed Solution
Check if problem is in the processing plugin, InaSAFE or in their interaction.