[Qgis-developer] fTools problems
Maciej Sieczka
tutey at o2.pl
Mon Aug 25 08:44:06 EDT 2008
Carson Farmer pisze:
> I am asking anyone who has used this plugin to let me know of
> any and all problems that you have experienced.
I have just tried your fTools in recent trunk bulid (r9163) and the
"compute basic statistics" tool prints the following error when I'm
selecting the layer:
---
An error has occured while executing Python code:
Traceback (most recent call last):
File
"/home/shoofi/.qgis/python/plugins/fTools/tools/doFieldStats.py", line
58, in update
changedLayer = self.getVectorLayerByName(inputLayer)
File
"/home/shoofi/.qgis/python/plugins/fTools/tools/doFieldStats.py", line
125, in getVectorLayerByName
vlayer = QgsVectorLayer(unicode(layer.source(),'latin1'),
unicode(myName,'latin1'), str(layer.getDataProvider().name()))
AttributeError: getDataProvider
Python version:
2.5.2 (r252:60911, Aug 14 2008, 13:49:08)
[GCC 4.3.1]
Python path:['/usr/local/qgis/share/qgis/python',
'/home/shoofi/.qgis//python/plugins',
'/usr/local/qgis/share/qgis/python/plugins', '/usr/lib/python25.zip',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/var/lib/python-support/python2.5',
'/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/home/shoofi/.qgis/python/plugins/fTools/tools']
---
Dabian testing amd64.
Maciek
--
Maciej Sieczka
www.sieczka.org
More information about the Qgis-developer
mailing list