Hi to all,
a student of mine has having this issues during a raster
processing operation (translate).
She is using a Qgis 3.16 in mac and she does not have problems
with other raster file operations like slope, shade etc, but when
she wants to transform a raster file data type floats to raster
file pixel data type Integer, using the command translate, she
gets this error message: do you know what is? I am sure she does
not have any symbols or empty spaces in the paths of her files.
Thanks, Azzurra
2021-12-13T18:31:58 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
2021-12-13T18:38:09 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
2021-12-13T18:40:48 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
2021-12-13T18:41:29 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
2021-12-13T18:42:33 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
2021-12-13T18:48:47 CRITICAL Traceback (most recent call
last): File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 423, in processAlgorithm getattr(self,
fullName)(parameters, context, feedback) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 480, in processInputs self.loadRasterLayerFromParameter(
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 731, in loadRasterLayerFromParameter
self.loadRasterLayer(name, layer, external, band)
File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 746, in loadRasterLayer
self.setSessionProjectionFromLayer(layer) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1044, in setSessionProjectionFromLayer
self.setSessionProjection(layer.crs()) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 1051, in setSessionProjection file_name =
Grass7Utils.exportCrsWktToFile(crs) File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/Grass7Utils.py",
line 95, in exportCrsWktToFile f.write(wkt)
UnicodeEncodeError: 'ascii' codec can't encode character
'\xb0' in position 895: ordinal not in range(128)
--
Gis Expert for Environmental Science
Environmental Disasters, Hydrogeology, Climate
image.png
*Eur**opean **Commission*
*Joint Research Centre**
*
Adjunct Professor University "Roma Tre" *
*
AZZURRA LENTINI
++++++++++++++++++++++++++
Italy Mobile Tel.: **(39) 338 24 40 676
++++++++++++++++++++++++++
SKYPE azzurrahydro
++++++++++++++++++++++++++
*[email protected]_*
*[email protected] _**__*
++++++++++++++++++++++++++
*Par respect pour l'environnement,*
*n'imprimez ce mail qu'en cas d'absolue nécessité*
_______________________________________________
Qgis-user mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user