← Back to team overview

dhis2-users team mailing list archive

Re: android tracker capture syncing error: 'an event already exists'


Hi Brian,

I think it may be related to this API issue
<https://jira.dhis2.org/browse/DHIS2-1796>. Could you create a new Jira
explaining how to replicate it through play.dhis2.org servers when
possible? Please use the "Maintenance of Android App" project and component
"Tracker Capture". Once we will study your case we will be able to propose
you a strategy to avoid that blocking situation.

Best regards.

Ignacio Foche

Le sam. 15 juil. 2017 à 13:48, Brian O'Donnell <bodonnell@xxxxxxxxx> a
écrit :

> Hi experts,
> Has anyone experienced errors syncing offline data capture with Android
> Tracker on v2.25?
> The following error message displays when trying to sync event data via
> wifi:
> *"program stage is not repeatable and an event already exists"*
> It is very similar to this issue on V2.26
> <https://lists.launchpad.net/dhis2-users/msg13264.html>, yet it occurs
> even with a single (nonrepeatable) stage program. On investigation, the
> error sometimes shows up when mobile data have been successfully submitted
> to the server and can be viewed on the web, but the error message persists
> on mobile.
> Our assumption is this occurs due to poor network, since we also received
> errors that "you have run out of auto-generated UIDs" when trying to enroll
> new TEIs, and "tracked entity does not exist" when syncing new enrollments.
> My biggest question: what is the best strategy to sync data if these
> errors persist? Our users may enroll ~100 new TEIs at a time before going
> back online, so logging out and back in is not an option as this wipes
> their local data. Is there another way to remove the error, and ensure data
> are synced to server?
> Details:
> v2.25
> build 9b2e099
> occurs on both app v0.3.39 and app v0.3.34
> non-repeating single stage and multiple stage programs
> "Pre-generate event UID" is not ticked
> occurs on multiple user roles, devices, and networks
> Brian
> --
> [image: Akros] <http://www.akros.com/> Brian O'Donnell, MPAff
> Informatics Project Manager
> bodonnell@xxxxxxxxx
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp