Bug report #13238
Offline Editing Plugin not working with a postgis layer
|Category:||C++ plugins/Offline editing|
|Affected QGIS version:||2.10.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21299|
When i try to convert a postgis layer to a offline project, i get this error
Offline Editing Plugin: Could not create a new database unable to open database file
#2 Updated by baditaflorin - almost 6 years ago
- Status changed from Feedback to Closed
Yes, that was the error.
But this is a problem for over a year, the default path in may default locations are cousin a error in QGIS
Like for example for this the location is :
Can we make the default location more open, to be in a folder where a user could write by default.
If not, this means a lot of clicks, making a user spend useless time.
Now it`s working, even if i got a warning.
Offline Editing Plugin: ERROR: 28 feature(s) not added. Provider errors: SQLite error: boundary_files_top25_areas20150819194023844.Geometry violates Geometry constraint [geom-type or SRID not allowed] SQL: INSERT INTO "boundary_files_top25_areas20150819194023844"("geometry","PCUID","PCPUID","PCNAME","PCTYPE","PCCLASS","CMAUID","CMAPUID","CMANAME","CMATYPE","PRUID","PRNAME") VALUES (GeomFromWKB(?, 3857),?,?,?,?,?,?,?,?,?,?,?)