I think \xf3 is the ascii code for ó as seen at http://daleswanson.org/ascii.htm

Maybe the algorithm is having trouble interpreting that character if
it's in any of the file names or the path to those files.

Worst case, you would have to remove that from all your filenames, but
maybe it can be fixed by adjusting the operating systems default
encoding that supports that character?

Unless someone knows that this limitation is part of python or QGIS?

Donovan

On Mon, Jan 20, 2014 at 3:52 AM, Rafael Torres <rafael.tor...@orosur.ca> wrote:
> Hola,
>
>
>
> When I run algorithms of otb and grass, it gives me the following error:
>
>
>
> “Traceback (most recent call last):
>
> File
> "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py",
> line 150, in execute
>
> self.processAlgorithm(progress)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\otb\OTBAlgorithm.py",
> line 199, in processAlgorithm
>
> OTBUtils.executeOtb(commands, progress)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\otb\OTBUtils.py",
> line 117, in executeOtb
>
> proc = subprocess.Popen(fused_command, shell=True, stdout=subprocess.PIPE,
> stdin=subprocess.PIPE,stderr=subprocess.STDOUT,
> universal_newlines=True).stdout
>
> File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line 711, in __init__
>
> errread, errwrite)
>
> File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line 922, in
> _execute_child
>
> args = '{} /c "{}"'.format (comspec, args)
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position
> 86: ordinal not in range(128)”
>
>
>
> Traceback (most recent call last):
>
> File
> "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py",
> line 150, in execute
>
> self.processAlgorithm(progress)
>
> File
> "C:/OSGeo4W/apps/qgis/./python/plugins\processing\grass\GrassAlgorithm.py",
> line 356, in processAlgorithm
>
> self.consoleOutput = GrassUtils.executeGrass(commands, progress,
> outputCommands);
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\grass\GrassUtils.py",
> line 246, in executeGrass
>
> command = GrassUtils.prepareGrassExecution(commands)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\grass\GrassUtils.py",
> line 225, in prepareGrassExecution
>
> GrassUtils.createGrassScript(commands)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\grass\GrassUtils.py",
> line 151, in createGrassScript
>
> output.write(command + "\n")
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position
> 51: ordinal not in range(128)
>
>
>
>
>
> Thanks
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to