Sync from comand line
¿Hi everybody, is posible run qfieldsync from command line?
This is not officially supported.
It should be possible to create something based on what's done in the tests (https://github.com/opengisch/qfieldsync/blob/master/qfieldsync/tests/test_export.py)
Thank you for advance, I try it and comment later.
Hi @m-kuhn, I deriving a script base on your recomendation. Thank you.
The script run until https://github.com/opengisch/qfieldsync/blob/5d0bb4b675ffbd20c2c5dec7bd1c08b02e945501/qfieldsync/core/offline_converter.py#L156
in this point get: Segment violation (generated 'core')
In background there are create copy of project and base data.gpkg (without content from project)
Any Advance. qfieldsync-bin.tar.gz
Hi every body, follow QGIS code into qgsofflineediting.cpp, I believe the problem is line 108: emit progressStarted(); I no sure, but I believe at this point throw Segment Fault (generated 'core'). Any advice?
Hello again, I'm still in the process of generating the project offline from command line. I've solved the previous questions.
I managed to generate the project offline without generating base maps. But this requires connection.When I try to generate the project with a base map. At online_converter.py line 112, I get:
QFieldSync requires processing. Creating a basemap with QFieldSync requires the processing plugin to be enabled. Processing is not enabled on your system. Please go to Plugins > Manage and Install Plugins and enable processing.
The qfieldsync plugin works correctly in QGIS UI and check for precessing plugin and this one exists.
Attached plugin source updates. qfieldsync.zip
This is more of a feature request for libqfieldsync's offline converter.