qfieldsync
qfieldsync copied to clipboard
Synchronizing fails when master project has been moved
Hi,
I have surveying projects that I packaged with Qfieldsync for cable export. I always have all source layers in a single geopackage to keep things neat. Every time I want to edit the master project, I create a copy of the folder containing the .qgz and the .gpkg and rename it with current datetime.
When I try to sync from the packaged project that was used to collect data on the field, it fails. QGIS simply opens the packaged project and doesn't update the master project.
I get prompted to confirm the new original path, which I accept:
I then end up with the packaged project open and these notifications:
and then:
But no update on the master project.
I tried with a clean profile without success. Any guess?
Example here: https://drive.google.com/drive/folders/1V09_LWFfMGdLGrHoHlBN4KY6lyZ1Grav?usp=sharing
Do you create your QField package before or after you copy the QGIS project+GPKG? I do something similar to you, but I always sync using the original QGIS project (unchanged location and name).
Do you create your QField package before or after you copy the QGIS project+GPKG? I do something similar to you, but I always sync using the original QGIS project (unchanged location and name).
Sorry, I did not monitor this issue in a while. the bug appears if I copy or move the QGIS project + GKPG after creating the QField package.
Furthermore, I noticed a weird behavior since last updates. Let's say I create a project on a shared drive at work, package it for QField and gather data on the field. Later on, I copy the main project to me local driver for some reason.
If I open the copy on my local drive and sync from the QField package, the data will not be synced on it but rather on the shared drive copy. I also get a python code error regarding denied access to a thumb.db file.