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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to