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

remap table goes out of sync #38

Open
HugoP27 opened this issue Jan 25, 2022 · 4 comments
Open

remap table goes out of sync #38

HugoP27 opened this issue Jan 25, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@HugoP27
Copy link

HugoP27 commented Jan 25, 2022

when features are added to a WP and synced back to the main mergin project we find that on occasion (2+ times per week) the script crashes and manual intervention is needed. The cause of the script crashing is the remap table going out of sync with the WP's. i.e. a smaller FID is assigned to a new feature in a WP than the highest FID in the remap table.
Hope it makes sense 🤪. @

@wonder-sk
Copy link
Contributor

hi @HugoP27 would it be possible to point me to one such particular case (at which version of which project) and ideally also what is the error that you get from the script?

@chris9404
Copy link

Hi @wonder-sk I do not have an example of the files, sorry.
This has not been happening with our new version of the main-project. The previous project was at version ~3600, not sure if this error was as a result of the high version number.
I will look further if I have some useful screenshots somewhere.

@chris9404
Copy link

Hi again @wonder-sk ,
I have an example ready for you of the various versions of projects as well as the error.
It would seem it is related to our other issue where edits in the main geopackage are not propagated to the work-packages.
I am sending an email with the relevant data.

The error example:
image

@PeterPetrik PeterPetrik added the bug Something isn't working label Jun 15, 2022
@HugoP27
Copy link
Author

HugoP27 commented Aug 31, 2022

Suggested fix, if this error occurs, clear the applicable remap table so that the script generates new remap values on next iteration. This is how we fix it. Not sure if this could cause other issues elsewhere, but so far for us it hasn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants