MontrealCorpusTools / Montreal-Forced-Aligner

Command line utility for forced alignment using Kaldi
https://montrealcorpustools.github.io/Montreal-Forced-Aligner/
MIT License
1.27k stars 242 forks source link

[BUG]sqlite3.OperationalError: table corpus already exists #699

Open li-henan opened 11 months ago

li-henan commented 11 months ago

dear author, the tool is nice. but I find the same error when run ' python main.py train ./data_mytest english_us_arpa ./data_mytestout.zip' and run ' python main.py align ./data_mytest english_us_arpa english_us_arpa out' the error is "sqlite3.OperationalError: table corpus already exists",could you help to have a look? thanks very much. details are as follows, Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/Users/henan/anaconda3/envs/aligner_mfa/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1965, in _exec_single_context self.dialect.do_execute( File "/Users/henan/anaconda3/envs/aligner_mfa/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 921, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: table corpus already exists

The above exception was the direct cause of the following exception:

mmcauliffe commented 10 months ago

Can you try rerunning but with the --clean flag added? That will clean any database tables and cached data from any previous runs.