Failed to initialize database. The script directory has multiple heads...merge the branches using alembic merge.
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
I got this message at startup after doing `git pull` and running
`./.venv/bin/python -m pip install -r requirements.txt`
```
[ERROR] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: The script directory has multiple heads (due to branching).Please use get_heads(), or merge the branches using alembic merge.
```
The fix was to do an alembic merge. But I don't expect anyone to know what that means. Because I don't know what that means. But it seems to squash the error after doing this:
`alembic merge heads`
Maybe fix the runner so it does something along these lines automatically.
Contributor guide
Assessment
This issue has not been assessed yet.