[Qgis-user] Qgis 3.16 in mac error with translate raster file
Azzurra Lentini
azzurralentini at gmail.com
Tue Dec 14 09:48:39 PST 2021
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: 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
++++++++++++++++++++++++++
*azzurralentini at gmail.com <azzurralentini at gmail.com>*
*azzurra.lentini at uniroma3.it <azzurra.lentini at uniroma3.it> *
++++++++++++++++++++++++++
*Par respect pour l'environnement,*
*n'imprimez ce mail qu'en cas d'absolue nécessité*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211214/bedd5b62/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6694 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211214/bedd5b62/attachment.png>
More information about the Qgis-user
mailing list