Bug report #16295
DB Manager: error importing data into GPKG connections
|Affected QGIS version:||2.18.4||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24205|
The same type of errors shows regardless the input datasource and regardless the operation is done by D&D or by using the "import layer/file" dialog:
creation of layer failed (OGR error:Failed to open Shapefile `dbname='/home/giovanni/Desktop/azo.gpkg' key='gid' table="fp" (geom) sql=.shp'.
I respectfully tag this as "severe" as a functionality (the support for GPKG connections in DB Manager) that since implemented has never worked the proper way.
See also #14981