<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Ciao Azzurra,</p>
<p>It is just a guess, but try to use just asccii file names (for
input and outpus). Maybe your student's name has accented
characters that are not supported by Grass7Utils.py.</p>
<p>Good luck,</p>
<p>Jorge<br>
</p>
<div class="moz-cite-prefix">On 14/12/21 17:48, Azzurra Lentini
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJ3ZhxrmwmjuaabGn+YpK_VwVKcQnsE-yz=SwntcKxZ9Zd0Pjw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">
<dl style="box-sizing:border-box;font-family:"Segoe
UI",system-ui,"Apple Color Emoji","Segoe
UI Emoji",sans-serif;font-size:14px">
<dd>Hi to all, </dd>
<dd>a student of mine has having this issues during a raster
processing operation (translate). </dd>
<dd>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. <br>
<div>
<div>
<div>
<p>Thanks, Azzurra </p>
</div>
</div>
</div>
</dd>
</dl>
<dl style="box-sizing:border-box;font-family:"Segoe
UI",system-ui,"Apple Color Emoji","Segoe
UI Emoji",sans-serif;font-size:14px">
<dd>
<div>
<div>
<div>
<div>
<div>
<div>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:31:58
CRITICAL </span>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)
</p>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:38:09
CRITICAL </span>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)
</p>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:40:48
CRITICAL </span>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)
</p>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:41:29
CRITICAL </span>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)
</p>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:42:33
CRITICAL </span>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)
</p>
<p><span style="color:rgb(239,105,80)">2021-12-13T18:48:47
CRITICAL </span>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)</p>
</div>
</div>
</div>
</div>
</div>
</div>
</dd>
</dl>
<dl>
<dd><br>
</dd>
</dl>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr" style="color:rgb(34,34,34)">Gis
Expert for Environmental <span
style="font-family:tahoma,sans-serif">Science</span><br>
</div>
<div dir="ltr" style="color:rgb(34,34,34)">
<div>Environmental Disasters, Hydrogeology,
Climate <span
style="font-family:tahoma,sans-serif"><br>
</span></div>
</div>
<div dir="ltr" style="color:rgb(34,34,34)"><img
src="cid:part1.OPXgPzKm.0qpWFPEx@geomaster.pt"
alt="image.png" class="" width="100" height="49"><br>
<div style="font-family:tahoma,sans-serif"><b
style="font-family:Arial,Helvetica,sans-serif"><span
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Verdana,sans-serif;vertical-align:baseline;color:rgb(79,129,189)">Eur</span></b><b
style="font-family:Arial,Helvetica,sans-serif"><span
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Verdana,sans-serif;vertical-align:baseline;color:rgb(79,129,189)"><span
style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:inherit">opean</span> </span></b><b
style="font-family:Arial,Helvetica,sans-serif"><span
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(79,129,189)">Commission</span></b><br>
</div>
</div>
<div style="color:rgb(34,34,34)">
<div
style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><span
style="color:rgb(31,73,125)"><b>Joint Research
Centre</b></span><b><span
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(79,129,189)"><br>
</span></b></div>
<div
style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><span
style="color:rgb(32,33,36)">Adjunct Professor
University "Roma Tre" </span><b><span
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(79,129,189)"><br>
</span></b></div>
</div>
<div dir="ltr" style="color:rgb(34,34,34)">AZZURRA
LENTINI</div>
<div dir="ltr" style="color:rgb(34,34,34)">++++++++++++++++++++++++++<br>
Italy Mobile Tel.: **(39) 338 24 40 676<br>
++++++++++++++++++++++++++<br>
SKYPE azzurrahydro<br>
++++++++++++++++++++++++++</div>
<div style="color:rgb(34,34,34)">
<p class="MsoNormal"
style="margin-bottom:0.0001pt;background-image:initial;background-position:initial;background-repeat:initial;line-height:normal"><b><u><span
style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a
href="mailto:azzurralentini@gmail.com"
style="color:rgb(17,85,204)"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">azzurralentini@gmail.com</a></span></u></b></p>
<p class="MsoNormal"
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><b><u><span
style="font-size:12pt;font-family:Arial,sans-serif;color:blue"><a
href="mailto:azzurra.lentini@uniroma3.it"
style="color:rgb(17,85,204)"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">azzurra.lentini@uniroma3.it</a> </span></u></b><b><u><span
style="font-size:12pt;font-family:Arial,sans-serif;color:blue"> </span></u></b><br>
</p>
</div>
<div dir="ltr" style="color:rgb(34,34,34)">++++++++++++++++++++++++++<br>
*Par respect pour l'environnement,*<br>
*n'imprimez ce mail qu'en cas d'absolue nécessité*</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>