[Qgis-user] RE: Error ar running Raster Calc on Windows VISTA

Kumaran Narayanaswamy kumaran.narayanaswamy at kcubeconsulting.com
Sun Apr 4 08:51:46 PDT 2010


Hello Agus,

We will look into this if the errors exists in OSGEO4W also and fix them.

Regards
Kumaran

-----Original Message-----
From: Agustin Lobo [mailto:alobolistas at gmail.com] 
Sent: Sunday, April 04, 2010 5:37 PM
To: Kumaran Narayanaswamy; qgis-user
Subject: Error ar running Raster Calc on Windows VISTA

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']




More information about the Qgis-user mailing list