Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QFieldCloud fails to package project with optimized packager #1082

Open
meyerlor opened this issue Dec 18, 2024 · 0 comments
Open

QFieldCloud fails to package project with optimized packager #1082

meyerlor opened this issue Dec 18, 2024 · 0 comments

Comments

@meyerlor
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant