Skip to content

Unable to sync QField projects with QField Cloud and OneDrive #749

@rkampcmsi

Description

@rkampcmsi

What is the bug or the crash? What were your expectations and what actually happened?

We have been receiving error messages with Permission errors to our OneDrive (OneDrive Sync is turned on). One of my colleagues has managed to also implement a fix, by changing some of the underlying Phyton codes. After the implemented fix, there are no Permission errors and changes in the files can be synced with or from the QField Cloud.

Steps to reproduce the issue

  1. Upload a GIS project to the QField Cloud.
  2. Make sure that the local source is an OneDrive map with OneDrive Sync on.
  3. Make some changes to the project (either locally on the laptop or via QField app) and sync these changes back to local laptop storage.
  4. You will receive a Permission error stating that permission was denied.
Image

QGIS version

QGIS v3.44.4

QFieldSync Version

4.18.3

Operating system name

Windows

Operating system version

Windows 11

Reinstall QFieldSync

  • I have a fresh install of the latest QFieldSync version on a new QGIS profile, but the problem persists.
  • Problem can be reliably reproduced, doesn't happen randomly.
  • Problem happens with all files and projects, not only some files or projects.

Additional context

My colleague Jos Lieben has made some changes in the Python code, specifically the core files: cloud_transferrer.py and cloud_project.py. Please find attached the working version of the Plug-in (the whole plug-in).

Fixed version QField Sync.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions