Cannot save project in Geopackage when using QueryLayer in QGIS for Windows #60568
Open
2 tasks done
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
Project
What is the bug or the crash?
When creating a QueryLayer by right-clicking on a Geopackage layer in QGIS browser and "Execute SQL..." or when creating a QueryLayer with DB Manager, QGIS refuses to save the project in the same Geopackage, no matter if the project was saved before or new. The error message is:
_Unable to save project to storage geopackage:F:/Projekte/QGIS/test.gpkg?projectName=testing
Unable to insert or update project (project=geopackage:F:/Projekte/QGIS/test.gpkg?projectName=testing) in the destination table on the database: database is locked_
Tried latest LTR and 3.40.3 on Windows.
IMPORTANT: Works as expected on Ubuntu...no error (not sure why that would be; different locking mechanisms???)
Steps to reproduce the issue
Versions
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: