You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When choosing the ‘Import project from ZIP’ action according to https://docs.qfield.org/get-started/storage/
only the Project file *.QGS is copied to the project folder, all other files including the data.gpkg not.
Reproduction steps
Steps to reproduce the behavior:
Create an arbitrary Project in QGIS with some vector layer.
Export this with the QField plugin.
Upload to OneDrive.
Download from OneDrive, eventually already on an Android device.
Open QField: Open local files -> "+" -> Import project from ZIP.
Scroll to the Download folder and choose the ZIP file.
QField returns with a link to the Project (but any other contained file is not listed)
Open the project and find it empty.
Expected behavior
Import the project file, the data.gpkg and other layer files to the project.
@VEWA-Patrice , how was the ZIP file created? I've noticed in the past that Android Zip class (which we use to decompress the ZIP file) doesn't handle ZIP files created by web app such as onedrive. If you use a software like the Gnome Archive tool or winzip/winrar on Windows.
Thanks @nirvn for pointing this out. Yes, we use a Onedrive storage to distribute QField packages and some users download these directly from their Android device (overgoing connecting it per USB to a Windows desktop).
Ok, knowing this and testing that a Zip file created on a Windows desktop works makes us to continue inzipping the projects as workaround.
Describe the issue
When choosing the ‘Import project from ZIP’ action according to
https://docs.qfield.org/get-started/storage/
only the Project file *.QGS is copied to the project folder, all other files including the data.gpkg not.
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
Import the project file, the data.gpkg and other layer files to the project.
Observed behavior
Only the project file is imported.
Screenshots and GIFs
The contents of the ZIP file:
The result of the import:
ZIP file:
9999 Testprojekt Monitoring2.zip
Desktop
Mobile
Additional information
The text was updated successfully, but these errors were encountered: