Hi Paolo, I think it is a known bug when you launch the plugin for the second time on the same raster. I was thinking I did fix it. Are you using the latest version of the plugin?
A work around is to delete the file rastername.bccPAL1 located in the same folder as the raster file. Cheers, Benoit On 21/09/11 14:26, Paolo Cavallini wrote: > Hi all. > We are getting this error on some windows machines, but not on others. > Anyone have hints? > Thanks. > > ------- Messaggio inoltrato ------- > >> Ha ocurrido un error mientras se ejecutaba el código de Python: >> >> Traceback (most recent call last): >> File "D:/Documents and Settings/jesus/.qgis/python/plugins >> \bcccoltbl1\bcctbl.py", line 826, in applyTBL >> myStats = self.myGRD.getStats() >> AttributeError: 'str' object has no attribute 'getStats' >> >> Versión de Python: >> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] >> >> >> Versión de QGIS: >> 1.8.0-Trunk Trunk, a4c2180 >> >> Ruta de Python: ['D:\\Documents and Settings\\jesus\\.qgis\\python\ >> \plugins\\elevation', 'D:/ARCHIV~1/QUANTU~2/apps/qgis-dev/./python', >> 'D:/Documents and Settings/jesus/.qgis/python', 'D:/Documents and >> Settings/jesus/.qgis/python/plugins', >> 'D:/ARCHIV~1/QUANTU~2/apps/qgis-dev/./python/plugins', 'D:\\ARCHIV~1\ >> \QUANTU~2\\bin\\python25.zip', 'D:\\ARCHIV~1\\QUANTU~2\\apps\\Python25 >> \\DLLs', 'D:\\ARCHIV~1\\QUANTU~2\\apps\\Python25\\lib', 'D:\\ARCHIV~1\ >> \QUANTU~2\\apps\\Python25\\lib\\plat-win', 'D:\\ARCHIV~1\\QUANTU~2\ >> \apps\\Python25\\lib\\lib-tk', 'D:\\ARCHIV~1\\QUANTU~2\\apps\\qgis-dev >> \\bin', 'D:\\ARCHIV~1\\QUANTU~2\\apps\\Python25', 'D:\\ARCHIV~1\ >> \QUANTU~2\\apps\\Python25\\lib\\site-packages', 'D:\\ARCHIV~1\ >> \QUANTU~2\\apps\\Python25\\lib\\site-packages\\win32', 'D:\\ARCHIV~1\ >> \QUANTU~2\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'D:\ >> \ARCHIV~1\\QUANTU~2\\apps\\Python25\\lib\\site-packages\\Pythonwin', >> 'D:\\ARCHIV~1\\QUANTU~2\\apps\\qgis-dev\\python\\plugins\\fTools\ >> \tools'] _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
