Commcare Data Export Tool - No such revision or branch

Hi,

We have been running the tool for some time, and this morning we get error:

File "c:\python39\lib\site-packages\alembic\script\revision.py", line 386, in _revision_for_ident
raise ResolutionError(
alembic.script.revision.ResolutionError: No such revision or branch '6f158d161ab6'

alembic.util.exc.CommandError: Can't locate revision identified by '6f158d161ab6'

image

Could it be, that yesterday we tried to access the same database which has the above table, using Commcare Sync app?

Could it be, that yesterday we tried to access the same database which has the above table, using Commcare Sync app?

That could be the issue. Both the CommCare Data Export tool and CommCare Sync use the same underlying code. If the version of one tool does not match the other it could result in this issue.

1 Like

I looks like CommCare Sync is using v1.6.0 of the CommCare Export Tool. I would expect the newest version that is running would work and the older version would fail.