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

Reply via email to