Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geopackage: database locked when editing and saving several layers of same file #24933

Closed
qgib opened this issue Aug 18, 2017 · 9 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Aug 18, 2017

Author Name: Even Rouault (@rouault)
Original Redmine Issue: 17034
Affected QGIS version: 2.18.0
Redmine category:data_provider/ogr
Assignee: Even Rouault


With the attached geopackage :

  1. Open it with its 2 layers
  2. Put the 2 layers in edition mode
  3. Select one layer, move one vertex
  4. Select the other layer, move one vertex
  5. Save modifications in the 2 layers
  6. Select one layer, move one vertex
  7. Select the other layer, move one vertex
  8. Save modifications in the 2 layers -> the "database is locked" message is emitted

@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Even Rouault (@rouault)


Applied in changeset 5481177.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Aug 18, 2017
@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Even Rouault (@rouault)


Complementary OGR fix : https://trac.osgeo.org/gdal/changeset/39860

Either QGIS fix, OGR fix or both are needed for the bug fix

@qgib
Copy link
Contributor Author

qgib commented Aug 18, 2017

Author Name: Giovanni Manghi (@gioman)


Even Rouault wrote:

Complementary OGR fix : https://trac.osgeo.org/gdal/changeset/39860

Either QGIS fix, OGR fix or both are needed for the bug fix

thanks for the fix Even, much appreciated.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@Mangoesmapping-GeorgeCorea

This is happening again in
3.12.3

@gioman
Copy link
Contributor

gioman commented Jun 11, 2020

This is happening again in
3.12.3

@georgecorea can't confirm here. What version are you using?

@Mangoesmapping-GeorgeCorea
Copy link

@rouault
Copy link
Contributor

rouault commented Jun 11, 2020

@georgecorea Please provide a very detailed reproducing scenario (like was done in the initial comment #24933 (comment))

@LucySaluki
Copy link

I am getting the same issue in 3.16.6, scenario is
select polygon and make editable
click on node and move to new location
click at new location to set down the node - error message appears

@Mangoesmapping-GeorgeCorea

This still happens in 3.18.2-Zürich. The process to reproduce the error is exactly the same as the original post about the issue. It only happens when more than one dataset in the same gpkg is edited (either concurrently or individually).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

5 participants