qfieldcloud icon indicating copy to clipboard operation
qfieldcloud copied to clipboard

Removing and adding files from QFieldCloud Projects causes error

Open enheduanna opened this issue 3 years ago • 0 comments
trafficstars

Hi Everybody, I have been setting up a QFieldCloud Project on my mac (also use pc in case I have to manually package and upload project to my lenovo android tablets). Its for an archaeological survey where I have 107 polygone shp files for each archaeological site representing the survey grid. I first saved the project under a specific name, added all the files and styled them in the way I want them to appear on the cloud and on QField on my devices. However when I remove/ re-add or add any of the shp file layers in the QGIS app on my computer when I have packaged it for QFieldCloud it will not update the project on the cloud. When I then try to re-open the project on my Lenovo tablet it receive a package error and its all the files that I have removed and readded to the project on my computer or newly added files. The message I get on QField on my tablet is "QFieldCloud had trouble packaging your project" and further below it says for each layer that did not load again after I had removed and reloaded it (or added anew after creating the cloud project) on my computer and synchronized the project to the cloud "Packed layer 'USP_001_Survey Grid' is not valid. Error code invalid_dataprovider, error message"/tmp/tmp294gmyu3/The Umma Survey Project/Field Work Data/ April 2022 Season/USP_001/USP_001 [...] missing." The only workaround is that I delete the current QFieldCloud Project add all the layers I want, package it and then reload the new QFieldCloud Project on my tablet. But it appears as if I cannot remove and reload files from the project itself nor add new files to it and synchronize the project. Any advice? Would appreciate any help. Thank you

enheduanna avatar Apr 01 '22 16:04 enheduanna