opengisch / qfieldsync

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

Conversion error with newest QFieldSync update #604

Closed georgiaslim closed 2 months ago

georgiaslim commented 3 months ago

I'm running the latest update of QFieldSync plugin (version 4.10.1) in QGIS 3.34.7

After packaging my project and all the layers for QField I sync it with QFieldCloud using QFieldSync the way I've always done it before the update as follows.

  1. Opening the QFieldCloud Projects Overview
  2. Click "Create New Project"
  3. Select "Create New Project: Convert currently open project to cloud project (recommended)" and click "Next"
  4. Sssign it to the correct organization in the drop-down list.
  5. Browse and select the local mirror directory (an empty folder within my project folder)
  6. Click 'OK' on the pop-up dialog: "The entered path does not contain a QGIS project file yet. You can always add one later." (Clicking 'Create' used to make a new project file in the local mirror directory, so this was always fine.)
  7. Click 'Create'

This is the exact same as before the update, only now get this error

2024-08-13T19:14:20 CRITICAL The project could not be converted into the export directory.

SeqLaz commented 3 months ago

Hi @georgiaslim,

I did a test using QFieldSync v4.10.1, and it worked perfectly for me. As a recommendation, use the default folder suggested by QFieldSync usually ../{user}/QField/cloud/{Project name}/, to avoid conflicts.

Test Conversion error with newest QFieldSync update 001.pdf

georgiaslim commented 3 months ago

@SeqLaz thank you. I did as you recommended, but it did not solve the issue. I uninstalled, then reinstalled and get the same error, same error message.

Here's what it's running on: image

HBarrau commented 3 months ago

I got the same issue. On my other desktop I did not run the update so used version 4.9.1 from QFIELD sync and that one is working fine for me. Looks like version 4.10.1 has an issue

nirvn commented 3 months ago

I can't replicate this, tried converting two projects (one if the preferred path, one as a subdirectory of the project I was converting).

We'll probably need a small sample project that fails when converting to look into this some more.

grosbous-web commented 3 months ago

Hi, I get exactly the same error message after updating QFieldSync to 4.10.1 today. Is it possible to convert to version 4.9.1 that was working fine?

m-kuhn commented 3 months ago

Old versions can be downloaded from the release page and installed as zip.

Meanwhile we would greatly appreciate any further insights that may help to reproduce the problem.

HBarrau commented 2 months ago

Goodmorning Matthias,

Today I have some time. What can I do to help you to reproduce the problem?

nirvn commented 2 months ago

@HBarrau , what we'd need is a small sample project that fails to convert to cloud project (as is described in this issue).

HBarrau commented 2 months ago

Ok, I will finish my current project work and will sent a small project to you. Same mailing?

fan32111 commented 2 months ago

Hello I have the same issue and tested same project on other pc with qgis version 3.28.15 and works fine. I assume it's a qgis LTR version problem It works not on QGIS 3.34.9

HBarrau commented 2 months ago

I have a project for you. Just tested it and still the same error. Where can I sent it to?

nirvn commented 2 months ago

@HBarrau , mathieu@opengis.ch

HBarrau commented 2 months ago

On its way

nirvn commented 2 months ago

@HBarrau , thanks for providing the test project, a fix is coming soon!

HBarrau commented 2 months ago

Thats great. Thanks for the feedback