Bug report #15928

Calling plugin from standalone script has a bug because the use of progress bar

Added by Juanma Font almost 7 years ago. Updated over 6 years ago.

Affected QGIS version:2.18.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:23845


I have a standalone script that call:


and only the first feature is write to outputfile.

I discover that if I comment out the line that says: "progress.setPercentage(int(current * total))" into the file /usr/share/qgis/python/plugins/processing/algs/qgis/LinesToPolygons.py then all features are write to output file.

Tested in Linux Qgis 2.18.1


#1 Updated by Alexander Bruy over 6 years ago

  • Operating System deleted (Linux)
  • Status changed from Open to Feedback
  • Category set to Processing/Core

Not reproducible here

#2 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

closing for lack of feedback.

Also available in: Atom PDF