Closed lsg1213 closed 4 months ago
Plus, I built the mfa v2.2.1 version from your github branch.
You might be able to get it to with with --no_use_postgres
, but I would recommend using a later version via: https://montreal-forced-aligner.readthedocs.io/en/latest/installation.html#general-installation
Debugging checklist
[ x ] Have you updated to latest MFA version? [ o ] Have you tried rerunning the command with the
--clean
flag?Describe the issue I want to convert words to phones by the pre-trained english_us_mfa g2p model. However, I tried to execute the below command than it doesn't work
For Reproducing your issue Please fill out the following:
Log file Please attach the log file for the run that encountered an error (by default these will be stored in
~/Documents/MFA
). 2024-01-05 01:28:07,743 - mfa - DEBUG - Beginning run for test 2024-01-05 01:28:07,743 - mfa - DEBUG - Using "global" profile 2024-01-05 01:28:07,743 - mfa - DEBUG - Using multiprocessing with 3 2024-01-05 01:28:07,743 - mfa - DEBUG - Set up logger for MFA version: 0.1.dev5+gfbe345e.d20231207 2024-01-05 01:28:07,743 - mfa - DEBUG - Cleaned previous run 2024-01-05 01:28:07,900 - mfa - DEBUG - Checking the global MFA database server... 2024-01-05 01:28:08,087 - mfa - ERROR - There was an error in the run, please see the logDesktop (please complete the following information):
Additional context I tried to restart server but it doesn't work Add any other context about the problem here. stderr messages are belows,
File "/group-volume/Montreal_forced_alignment/montreal_forced_aligner/command_line/g2p.py", line 119, in g2p_cli g2p.setup() File "/group-volume/Montreal_forced_alignment/montreal_forced_aligner/g2p/generator.py", line 839, in setup super().setup() File "/group-volume/Montreal_forced_alignment/montreal_forced_aligner/g2p/generator.py", line 651, in setup TopLevelMfaWorker.setup(self) File "/group-volume/Montreal_forced_alignment/montreal_forced_aligner/abc.py", line 544, in setup self.initialize_database() File "/group-volume/Montreal_forced_alignment/montreal_forced_aligner/abc.py", line 256, in initialize_database raise DatabaseError( montreal_forced_aligner.exceptions.DatabaseError: DatabaseError:
There was an error connecting to the global MFA database server. Please ensure the server is initialized (mfa server init) or running (mfa server start)