Skip to content
This repository was archived by the owner on Jun 9, 2018. It is now read-only.
This repository was archived by the owner on Jun 9, 2018. It is now read-only.

Error: <class 'sqlite3.OperationalError'> #39

@kannes

Description

@kannes

If you get


Error: <class 'sqlite3.OperationalError'>
Error msg:
Traceback (most recent call last):
  File "geopackage-python/Packaging/tiles2gpkg_parallel.py", line 1339, in <module>
    main(ARG_LIST)
  File "geopackage-python/Packaging/tiles2gpkg_parallel.py", line 1275, in main
    combine_worker_dbs(gpkg)
  File "geopackage-python/Packaging/tiles2gpkg_parallel.py", line 1190, in combine_worker_dbs
    out_geopackage.assimilate(tdb)
  File "geopackage-python/Packaging/tiles2gpkg_parallel.py", line 793, in assimilate
    cursor.execute("detach source;")
sqlite3.OperationalError: database source is locked

then run it in Python 2 instead. I get above error in Python 3.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions