Bug report #18600

QGIS3: can't cancel ogr2ogr

Added by Tobias Wendorff almost 6 years ago. Updated over 5 years ago.

Assignee:Victor Olaya
Affected QGIS version:3.0.0 Regression?:No
Operating System:Microsoft Windows 7, 64-bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:26488


It's not possible to cancel ogr2ogr processing by pressing the "cancel" button.
I've created a quick workaround using myself in Powershell. It finds the PID of ogr2ogr.exe, kills it and removes the temporary files.

Work-around for QGIS (should work in Windows and Linux): get the PID of the subprocess started, kill the process and remove the temporary files (important for a clean workspace).

Same behavior in 6ddd9ab0c7 and below.

Related issues

Related to QGIS Application - Bug report #20441: Unable to stop executing GDAL algorithm Closed 2018-11-10


#1 Updated by Nyall Dawson over 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in 3.2 - the cancel button is correctly disabled for OGR/GDAL algorithms (pending a safe cross-platform way to kill these commands)

#2 Updated by Alexander Bruy about 5 years ago

Also available in: Atom PDF