[Fwd: Re: [Qgis-user] Error ar running Raster Calc on Windows VISTA]
Agustin Lobo
alobolistas at gmail.com
Mon Apr 5 23:00:28 PDT 2010
-------- Original Message --------
Subject: Re: [Qgis-user] Error ar running Raster Calc on Windows VISTA
Date: Tue, 06 Apr 2010 07:59:31 +0200
From: Agustin Lobo <aloboaleu at gmail.com>
Reply-To: Agustin.Lobo at ija.csic.es
To: Stefan Kiefer <spam at stefankiefer-online.de>
CC: Kumaran Narayanaswamy <kumaran.narayanaswamy at kcubeconsulting.com>,
qgis-user <qgis-user at lists.osgeo.org>, Mercè Font Brucart <merce_font_bruc at yahoo.es>
References: <4BB880D7.6030208 at gmail.com> <1270466763.10796.32.camel at SCIDATA01>
Dear Stefan,
Many thanks, that was the problem: an accent in
the path of the output file.
Agus
Stefan Kiefer wrote:
> 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
>
>
>
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
More information about the Qgis-user
mailing list