2 changes: 1 addition & 1 deletion python/plugins/processing/core/GeoAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def execute(self, progress, model = None):
lines.append(errstring)
lines.append(errstring.replace("\n", "|"))
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
raise GeoAlgorithmExecutionException(str(e))
raise GeoAlgorithmExecutionException(str(e) + "\nSee log for more details")


def runPostExecutionScript(self, progress):
Expand Down
8 changes: 4 additions & 4 deletions python/plugins/processing/gui/BatchProcessingDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def __init__(self, alg):
self.table = QtGui.QTableWidget(None)
AlgorithmExecutionDialog.__init__(self, alg, self.table)
self.setWindowModality(1)
self.algEx = None
self.resize(800, 500)
self.setWindowTitle("Batch Processing - " + self.alg.name)
for param in self.alg.parameters:
Expand Down Expand Up @@ -129,9 +128,10 @@ def setTableContent(self):
self.table.setColumnHidden(i, not self.showAdvanced)
i+=1
for out in self.alg.outputs:
self.table.setColumnWidth(i,250)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem(out.description))
i+=1
if not out.hidden:
self.table.setColumnWidth(i,250)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem(out.description))
i+=1

self.table.setColumnWidth(i, 200)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem("Load in QGIS"))
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/ModelerDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, alg=None):
self.buttonBox.addButton(self.saveAsButton, QDialogButtonBox.ActionRole)
self.exportAsImageButton = QPushButton(self.tr("Export as image..."))
self.exportAsImageButton.setToolTip(self.tr("Export current model to image"))
self.buttonBox.addButton(self.saveAsImageButton, QDialogButtonBox.ActionRole)
self.buttonBox.addButton(self.exportAsImageButton, QDialogButtonBox.ActionRole)

# fill trees with inputs and algorithms
self.fillInputsTree()
Expand Down
4 changes: 3 additions & 1 deletion python/plugins/processing/saga/SagaAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ def processAlgorithm(self, progress):
if param.datatype == ParameterMultipleInput.TYPE_RASTER:
for layerfile in layers:
if not layerfile.endswith("sgrd"):
commands.append(self.exportRasterLayer(layerfile))
exportCommand = self.exportRasterLayer(layerfile)
if exportCommand is not None:
commands.append()
if self.resample:
commands.append(self.resampleRasterLayer(layerfile));
elif param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
Expand Down