opengisch/qfieldsync

Error messages when exporting packages with Qfield sync

Ipickedausername opened this issue · 0 comments

After synchronizing, the following error appears:


IndexError: list index out of range 
Traceback (most recent call last):
  File "C:\Users\Artemisia\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qfieldsync\libqfieldsync.whl\libqfieldsync\offline_converter.py", line 568, in _on_offline_editing_next_layer
    layer_name=self.__offline_layer_names[layer_index - 1]
IndexError: list index out of range

Afterward, many similar messages appear for every relation widget I am using in my different layers. All relations are properly configured.

error

I have found a workaround for the second message: I need to open the properties of all my layers and click through each one to display the relation widget. After doing this, no more errors appear.

Here is a project on QGIS that must generate the error:

test_sync_QGIS.zip