aeneas-installer icon indicating copy to clipboard operation
aeneas-installer copied to clipboard

An Error message encountered

Open dvd64 opened this issue 11 months ago • 0 comments

Thanks for your aeneas. There is no problem when using: python -m aeneas.tools.execute_task.But when I use python -m aeneas.tools.execute_job: Put the audio files (assuming the format is m4a) and the corresponding text files in the same folder AAA . Place both folder AAA and the config.txt file in folder BBB. The content of the config.txt file (in UTF - 8 format) is as follows: is_hierarchy_type=flat is_hierarchy_prefix=AAA/ is_text_file_relative_path=. is_text_file_name_regex=..txt is_text_type=plain is_audio_file_relative_path=. is_audio_file_name_regex=..m4a

os_job_file_name=job_srt os_job_file_container=unpacked os_job_file_hierarchy_type=flat os_job_file_hierarchy_prefix=AAA/ os_task_file_name=$PREFIX.srt os_task_file_format=srt job_language=en job_description=aeneas example job

Create a new folder CCC to store the new SRT files. Place folder CCC within folder DDD, where folder BBB also resides. Type "cmd" in the address bar of folder DDD. Then type:python -m aeneas.tools.execute_job BBB CCC

The following error always appears: [INFO] Validating the container (specify --skip-validator to bypass)... [ERRO] The given container is not valid: [ERRO] Errors: Required parameter 'is_hierarchy_type' not set.

I can't find why,although I read the contents in https://www.readbeyond.it/aeneas/docs/clitutorial.html Could you help me?thank you very much.

dvd64 avatar Feb 18 '25 07:02 dvd64