MerginMaps / qgis-plugin

QGIS plugin for managing Mergin Maps projects
GNU General Public License v3.0
36 stars 13 forks source link

Issues with Syncing and Downloading Workspaces #605

Open RobertHealy opened 3 months ago

RobertHealy commented 3 months ago

I have had repeated issues syncing and downloading a particular workspace. The sync will start and get to 100%, then fail. One warning referenced something to do with replacing a sqlite db.

Subsequently, i have tried uninstalling and reinstalling mergin, as well as attempting to use a different computer....below is the warning i got once i tried downloading a cloned version to a different machine (the same message that i got on the other computer).....

Traceback (most recent call last):

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\sync_dialog.py", line 150, in download_timer_tick download_project_finalize(self.job)

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 239, in download_project_finalize task.apply(job.directory, job.mp)

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 291, in apply mp.geodiff.make_copy_sqlite(mp.fpath(self.file_path), mp.fpath_meta(self.file_path))

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\deps\pygeodiff\main.py", line 255, in make_copy_sqlite return self.clib.make_copy_sqlite(src, dst) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\deps\pygeodiff\geodifflib.py", line 440, in make_copy_sqlite _parse_return_code(res, "make_copy_sqlite")

File "C:\Users/rhealy/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\deps\pygeodiff\geodifflib.py", line 45, in _parse_return_code raise GeoDiffLibError(msg)

Mergin.mergin.deps.pygeodiff.geodifflib.GeoDiffLibError: make_copy_sqlite