[Qgis-developer] Missing next() method in Python 3 QgsFeatureIterator in master

Matthias Kuhn matthias at opengis.ch
Fri Jul 1 03:15:29 PDT 2016


Hi Alessandro


On 07/01/2016 11:59 AM, Alessandro Pasotti wrote:
> Hi,
> 
> I'm trying to adapt a test to Py3/Qt5 and I get this odd error:
> 
> AttributeError: 'QgsFeatureIterator' object has no attribute 'next'


    ./scripts/2to3

is your friend

http://stackoverflow.com/a/12274637/2319028

Matthias


More information about the Qgis-developer mailing list