Montreal-Forced-Aligner
Montreal-Forced-Aligner copied to clipboard
The global MFA database server does not exist, initializing it first.
The global MFA database server does not exist, initializing it first.
Traceback (most recent call last):
File "/home/siying/anaconda3/envs/aligner/bin/mfa", line 8, in
This error occurs when I process "mfa align" or "mfa train" command. It seems I need to initialize the aligner but I have no idea what to do...
The usual questions:
- What version of MFA are you running? (it appears that it's not 2.2.6 as the error message should have changed and I've been working on issues related to this in recent releases) Can you try upgrading and try again? Can you try running
mfa configure --enable_auto_server
and then rerunning and see if that addresses it? - What operating system are you using, is this using Docker? I've only seen the lack of initdb be present when trying to build docker images.
- How are you invoking MFA? Are you in the conda environment, or invoking the module directly via some python prompt like "python -m montreal_forced_aligner" (which is how I saw this error previously in building the docker image).
@mmcauliffe I observe the same error when using conda + pip in version 2.2.15. It would be helpful to know where these programs belong, to which pip package/framework, so it can be checked if there are correctly installed. It this belongs to SQLAlchemy or another package?