Showing with 2 additions and 3 deletions.
  1. +2 −2 python/plugins/processing/core/GeoAlgorithm.py
  2. +0 −1 python/plugins/processing/gdal/translate.py
4 changes: 2 additions & 2 deletions python/plugins/processing/core/GeoAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def execute(self, progress):
self.runPreExecutionScript(progress)
self.processAlgorithm(progress)
self.convertUnsupportedFormats(progress)
self.runPostExecutionScript(progress)
self.runPostExecutionScript(progress)
except GeoAlgorithmExecutionException, gaee:
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, gaee.msg)
raise gaee
Expand Down Expand Up @@ -423,7 +423,7 @@ def getPostProcessingErrorMessage(self, wrongLayers):

html ="<p>Oooops! The following output layers could not be open</p><ul>\n"
for layer in wrongLayers:
html += '<li>' + layer.description + ': <font size=3 face="Courier New" color="ff0000">' + layer.value + "</font></li>\n"
html += '<li>' + layer.description + ': <font size=3 face="Courier New" color="#ff0000">' + layer.value + "</font></li>\n"
html +="</ul><p>The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm</p>"
html +="<p>Checking the log information might help you see why those layers were not created as expected</p>"
return html
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/gdal/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def processAlgorithm(self, progress):
if crsId is not None:
arguments.append("-a_srs")
arguments.append(str(crsId))
self.crs = QgsCoordinateReferenceSystem(crsId)
if sds:
arguments.append("-sds")
if len(extra) > 0:
Expand Down