Opened 14 years ago

Closed 14 years ago

#3207 closed patch (fixed)

Check Geometry don't works with SIP < 4.9

Reported by: alexbruy Owned by: cfarmer
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Python plugins and bindings Version:
Keywords: ftools, check geometry Cc: dr, gislab, alexbruy
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

New Check Geometry tool use more pythonic style for iterating over features in vector layer

layer.select([])
for f in layer:
  #  do something

But this work only with SIP >= 4.9. In OSGeo4W stack there is a SIP 4.8.2, this can cause some problems for users.

Proposed patch fixes this issue by reverting back for old-style nextFeature() call.

Attachments (1)

compat_fix_doValidate.diff (2.6 KB ) - added by alexbruy 14 years ago.
Proposed patch

Download all attachments as: .zip

Change History (2)

by alexbruy, 14 years ago

Attachment: compat_fix_doValidate.diff added

Proposed patch

comment:1 by cfarmer, 14 years ago

Resolution: fixed
Status: newclosed

Applied in r14639.

Carson

Note: See TracTickets for help on using tickets.