1
Bug Reports / GPKG export fails with SQL logic error when saving attributes in Metashape 2.3.0
« on: January 10, 2026, 02:45:02 PM »
Hi!
I wanted to see if the GPKG format could be useful to me and a problem occurred during export.
Bug: GeoPackage export produces empty gpkg_contents and SQL logic error when save_attributes/save_elevation are enabled (Metashape 2.3.0 b21868).
n Metashape 2.3.0 (b21868), exporting Shapes to GeoPackage reproducibly fails with “SQL logic error (1)” when save_attributes and/or save_elevation are enabled. The resulting .gpkg file is created but contains only metadata tables and no entries in gpkg_contents.
I tried to present the circumstances in which I get this error through a script made with AI.
I found an older thread that identified the same error.
https://www.agisoft.com/forum/index.php?topic=16227.0
I am attaching the generated report.
""
I wanted to see if the GPKG format could be useful to me and a problem occurred during export.
Bug: GeoPackage export produces empty gpkg_contents and SQL logic error when save_attributes/save_elevation are enabled (Metashape 2.3.0 b21868).
n Metashape 2.3.0 (b21868), exporting Shapes to GeoPackage reproducibly fails with “SQL logic error (1)” when save_attributes and/or save_elevation are enabled. The resulting .gpkg file is created but contains only metadata tables and no entries in gpkg_contents.
I tried to present the circumstances in which I get this error through a script made with AI.
I found an older thread that identified the same error.
https://www.agisoft.com/forum/index.php?topic=16227.0
I am attaching the generated report.
""