[Qgis-user] Error ar running Raster Calc on Windows VISTA
Stefan Kiefer
spam at stefankiefer-online.de
Mon Apr 5 04:30:35 PDT 2010
This pretty much looks to me like a special character in a filename. I
had this the other day. replacing special chars worked for me as a
workaround.
cheers
Stefan
Am Sonntag, den 04.04.2010, 14:06 +0200 schrieb Agustin Lobo:
> We find the following error at executing Raster Calc
> on Windows VISTA (Kcubeconsulting install of QGIS 1.4.0):
>
> The plugin opens, but once the expression is entered the
> following error appears at executing the expression:
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
> File "C:/Users/Usuari/.qgis//python/plugins\rastercalc\rastercalcdialog.py",
> line 253, in accept
> fileName = os.path.normpath( str( self.leFileName.text() ) )
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xc0' in position 4:
> ordinal not in range(128)
>
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
>
> Python path: ['C:/QuantumGIS-1.4/apps/qgis-unstable/./python',
> 'C:/Users/Usuari/.qgis//python', 'C:/Users/Usuari/.qgis//python/plugins',
> 'C:/QuantumGIS-1.4/apps/qgis-unstable/./python/plugins',
> 'C:\\QuantumGIS-1.4\\apps\\gdal-16\\pymod', 'C:\\QuantumGIS-1.4',
> 'C:\\QuantumGIS-1.4\\bin\\python25.zip',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\DLLs',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\plat-win',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\lib-tk',
> 'C:\\QuantumGIS-1.4\\apps\\qgis-unstable\\bin',
> 'C:\\QuantumGIS-1.4\\apps\\Python25',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\site-packages',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\site-packages\\win32',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\site-packages\\win32\\lib',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\site-packages\\Pythonwin',
> 'C:\\QuantumGIS-1.4\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
> 'C:\\QuantumGIS-1.4\\apps\\qgis-unstable\\python\\plugins\\fTools\\tools']
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list