Skip to content

QFieldCloud fails to package project with optimized packager #1082

@meyerlor

Description

@meyerlor

When i want to download a project from QFieldCloud the job fails. This is the log from QFieldCloud:

Package Project
11:17:02.634 ENTRYPNT  INFO     Preparing QGIS project for packaging…
11:17:02.634 root      INFO     Loading QGIS project "/tmp/tmpg4ijmecm/files/Test.qgz"…
11:17:02.634 root      INFO     Skip loading QGIS project "/tmp/tmpg4ijmecm/files/Test.qgz", it is already loaded
11:17:02.634 ENTRYPNT  INFO     Getting project area of interest…
11:17:02.637 ENTRYPNT  INFO     Project area of interest is `Polygon ((539167.06000000005587935 5269769.90000000037252903, 549360.41000000003259629 5269769.90000000037252903, 549360.41000000003259629 5278662.20000000018626451, 539167.06000000005587935 5278662.20000000018626451, 539167.06000000005587935 5269769.90000000037252903))` in `` CRS.
11:17:02.637 ENTRYPNT  INFO     Offliner set to "pythonmini"
11:17:02.637 ENTRYPNT  INFO     Packaging…
11:17:02.837 QGSMSGLOG INFO     Layer "Tatsächliche_Nutzung" will use attribute "fid" as a primary key.
11:17:02.836 libqfieldsync INFO     Layer "Tatsächliche_Nutzung" will use attribute "fid" as a primary key.
11:17:02.837 QGSMSGLOG INFO     Layer "Tatsächliche_Nutzung" will use attribute "fid" as a primary key.
11:17:02.837 libqfieldsync INFO     Layer "Tatsächliche_Nutzung" will use attribute "fid" as a primary key.
/usr/lib/python3/dist-packages/osgeo/osr.py:410: FutureWarning: Neither osr.UseExceptions() nor osr.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
  warnings.warn(
11:17:03.411 QGSMSGLOG WARNING  Commit errors:
  ERROR: 11925 feature(s) not added - geometry type is not compatible with the current layer.
11:17:03.474 root INFO Stopping QGIS app…
11:17:03.619 root INFO Deleted QGIS app!

This only happens with the new packager - with the old, deprecated one it is working.
This is the Projecturl: https://app.qfield.cloud/a/KleinLeber/Test/
This one of the failed jobs: https://app.qfield.cloud/a/KleinLeber/Test/jobs?id=1562b931-70ad-4b24-9795-97c66267d1e6&job-preview=1
This is the sample project:
QFieldCloud Sample.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