Describe the issue
Running the aligner on my dataset returns a positional argument error
Traceback (most recent call last):
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/command_line/mfa.py", line 107, in history_save_handler
raise self.exception
File "/home/sam/anaconda3/envs/aligner/bin/mfa", line 10, in <module>
sys.exit(mfa_cli())
^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/rich_click/rich_command.py", line 126, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/command_line/align.py", line 122, in align_corpus_cli
aligner.align()
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/alignment/pretrained.py", line 333, in align
self.setup()
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/alignment/pretrained.py", line 207, in setup
self.load_corpus()
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/corpus/acoustic_corpus.py", line 1116, in load_corpus
self.load_lexicon_compilers()
File "/home/sam/anaconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/dictionary/multispeaker.py", line 1447, in load_lexicon_compilers
dictionaries = session.get(Dictionary)
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Session.get() missing 1 required positional argument: 'ident'
For Reproducing your issue
Please fill out the following:
Debugging checklist
[ ] Have you read the troubleshooting page (https://montreal-forced-aligner.readthedocs.io/en/latest/user_guide/troubleshooting.html) and searched the documentation to ensure that your issue is not addressed there? [ ] Have you updated to latest MFA version (check https://montreal-forced-aligner.readthedocs.io/en/latest/changelog/changelog_3.0.html)? What is the output of
mfa version
? [ ] Have you tried rerunning the command with the--clean
flag?Describe the issue Running the aligner on my dataset returns a positional argument error
For Reproducing your issue Please fill out the following:
Log file
Desktop (please complete the following information):
Additional context Add any other context about the problem here.