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

Error messages when exporting packages with Qfield sync #583

Open
Ipickedausername opened this issue May 18, 2024 · 0 comments
Open

Error messages when exporting packages with Qfield sync #583

Ipickedausername opened this issue May 18, 2024 · 0 comments

Comments

@Ipickedausername
Copy link

Ipickedausername commented May 18, 2024

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

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