[x] Have you updated to latest MFA version?
[x] Have you tried rerunning the command with the --clean flag?
Describe the issue
when doing "mfa align", it is caused
"yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:pathlib.PosixPath'
in "~/MFA/corpus/corpus.yaml", line 1, column 19"
For Reproducing your issue
Please fill out the following:
Corpus structure
What language is the corpus in?
--all language
How many files/speakers?
--not relation
Are you using lab files or TextGrid files for input?
--using lab
Dictionary
Are you using a dictionary from MFA? If so, which one?
--english and japanese_mfa
Acoustic model
If you're using an acoustic model, is it one download through MFA? If so, which one?
--english and japanese_mfa
Log file
Please attach the log file for the run that encountered an error (by default these will be stored in ~/Documents/MFA).
2023-11-08 13:07:30.068 JST [4156293] LOG: received smart shutdown request
2023-11-08 13:07:30.074 JST [4156293] LOG: background worker "logical replication launcher" (PID 4156308) exited with exit code 1
2023-11-08 13:07:30.074 JST [4156302] LOG: shutting down
2023-11-08 13:07:30.076 JST [4156302] LOG: checkpoint starting: shutdown immediate
2023-11-08 13:07:30.089 JST [4156302] LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.015 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=5435 kB
2023-11-08 13:07:30.155 JST [4156293] LOG: database system is shut down
2023-11-08 13:07:38.865 JST [4177071] LOG: starting PostgreSQL 15.4 on x86_64-conda-linux-gnu, compiled by x86_64-conda-linux-gnu-cc (conda-forge gcc 12.3.0-2) 12.3.0, 64-bit
2023-11-08 13:07:38.866 JST [4177071] LOG: listening on IPv4 address "127.0.0.1", port 5433
2023-11-08 13:07:38.868 JST [4177071] LOG: listening on Unix socket "/tmp/.s.PGSQL.5433"
2023-11-08 13:07:38.918 JST [4177079] LOG: database system was shut down at 2023-11-08 13:07:30 JST
Desktop (please complete the following information):
OS: [Linux]
Version [Ubuntu 9.4.0]
Any other details about the setup (Cloud, Docker, etc)
--conda venv
this problem occuers when run mfa train.
In addition, if you try to start over from ”mfa validate” after this problem occurs, the same problem will occur in ”mfa validate”. This problem stopped occurring in ”mfa validate” when I completely deleted the target corpus folder from the mfa file.
Debugging checklist
[x] Have you updated to latest MFA version? [x] Have you tried rerunning the command with the
--clean
flag?Describe the issue when doing "mfa align", it is caused
"yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:pathlib.PosixPath' in "~/MFA/corpus/corpus.yaml", line 1, column 19"
For Reproducing your issue Please fill out the following:
Corpus structure
Dictionary
Acoustic model
Log file Please attach the log file for the run that encountered an error (by default these will be stored in
~/Documents/MFA
).2023-11-08 13:07:30.068 JST [4156293] LOG: received smart shutdown request 2023-11-08 13:07:30.074 JST [4156293] LOG: background worker "logical replication launcher" (PID 4156308) exited with exit code 1 2023-11-08 13:07:30.074 JST [4156302] LOG: shutting down 2023-11-08 13:07:30.076 JST [4156302] LOG: checkpoint starting: shutdown immediate 2023-11-08 13:07:30.089 JST [4156302] LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.015 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=5435 kB 2023-11-08 13:07:30.155 JST [4156293] LOG: database system is shut down 2023-11-08 13:07:38.865 JST [4177071] LOG: starting PostgreSQL 15.4 on x86_64-conda-linux-gnu, compiled by x86_64-conda-linux-gnu-cc (conda-forge gcc 12.3.0-2) 12.3.0, 64-bit 2023-11-08 13:07:38.866 JST [4177071] LOG: listening on IPv4 address "127.0.0.1", port 5433 2023-11-08 13:07:38.868 JST [4177071] LOG: listening on Unix socket "/tmp/.s.PGSQL.5433" 2023-11-08 13:07:38.918 JST [4177079] LOG: database system was shut down at 2023-11-08 13:07:30 JST
Desktop (please complete the following information):
this problem occuers when run mfa train. In addition, if you try to start over from ”mfa validate” after this problem occurs, the same problem will occur in ”mfa validate”. This problem stopped occurring in ”mfa validate” when I completely deleted the target corpus folder from the mfa file.