[Qgis-user] statist plugin

matteo matteo.ghetta at gmail.com
Tue May 14 06:09:24 PDT 2013


Hi guys,
I downloaded the statist plugin but I receive some errors like:


Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
   File "/home/matteo/.qgis2/python/plugins/statist/statistdialog.py", 
line 110, in reloadFields
     self.cmbFields.addItems(utils.getFieldNames(layer, [QVariant.Int, 
QVariant.Double]))
   File "/home/matteo/.qgis2/python/plugins/statist/statist_utils.py", 
line 57, in getFieldNames
     for idx, field in fieldMap.iteritems():
AttributeError: 'QgsFields' object has no attribute 'iteritems'
Versione Python:
2.7.3 (default, Aug  1 2012, 05:27:35)
[GCC 4.6.3]
Versione di QGIS:
1.9.0-Master Master, exported
Percorso Python: ['/home/matteo/.qgis2/python/plugins/sextante_taudem', 
'/home/matteo/.qgis2/python/plugins/sextante', '/usr/share/qgis/python', 
'/home/matteo/.qgis2/python', '/home/matteo/.qgis2/python/plugins', 
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', 
'/usr/lib/python2.7/dist-packages/ubuntuone-couch', 
'/usr/lib/python2.7/dist-packages/ubuntuone-installer', 
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/matteo/.qgis2/python/plugins/mmqgis/forms', 
'/usr/share/qgis/python/plugins/fTools/tools', 
'/home/matteo/Universita/brema/gis']



I looked at the two files but I'm not able to find any error.

Ideas?

Thanks in advance


Matteo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130514/77f5857e/attachment.html>


More information about the Qgis-user mailing list