GitHubRGI/geopackage-python

Error: <class 'sqlite3.OperationalError'>

kannes opened this issue · 0 comments

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.