Bug report #21268

Loading zipped shapefile throws OGR warning

Added by Alexandre Neto almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Data Provider
Affected QGIS version:3.5(master) Regression?:Yes
Operating System:Windows and Linux at least Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29086

Description

Trying to load a zipped shapefile on QGIS throws a warning message in the OGR log, but the layer is loaded anyway.

2019-02-13T21:10:04 WARNING Cannot open C:\Users\user\Desktop\albu.zip.()

This happens when you load the layer using the Add vector layer option and by drag and drop, but not when the Browser panel is used.

This does not happen on QGIS 2.18

Associated revisions

Revision 407adc76
Added by Jürgen Fischer almost 6 years ago

Expand ZipItem in foreground (fixes #21268)

Revision ef508c05
Added by Jürgen Fischer almost 6 years ago

Expand ZipItem in foreground (fixes #21268)

(cherry picked from commit 407adc761ebe224a2d72df65551cdcf2addf1735)

History

#1 Updated by Tobias Wendorff almost 6 years ago

  • Regression? changed from No to Yes

I can verify this, but it is even worse: it also happens to GPKG files when using drag & drop.

#2 Updated by Jürgen Fischer almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF