opengisch / qfieldsync

Sync your projects to QField
https://qfield.org/
GNU Lesser General Public License v3.0
55 stars 25 forks source link

Synchronizing fails when master project has been moved #582

Open MatparMcWolfie opened 7 months ago

MatparMcWolfie commented 7 months ago

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: image

I then end up with the packaged project open and these notifications:

image image

and then:

image

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

OBVYamaska commented 1 month ago

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).